It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
WOOF_PostType :: top_posts( Arguments $args = array() )
A preset on the WOOF::posts method, to retrieve posts this post type that are at the top level of the hierarchy (have no parents).
Arguments $args = array()
An arguments array or string compatible with get_posts to further clarify the query used to retrieve, with defaults:
- orderby => “name”
- order => “asc”
- numberposts => -1
- post_parent => 0 (enforced, cannot be changed)
- post_type => the name of this post type (enforced, cannot be changed)