MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
WOOF_PostType :: query_posts( Arguments $args = array() )
- WOOF_Collection A collection of WOOF_Post objects
A preset on the WOOF::query_posts method, to retrieve the posts from this post type, while also affecting the main query loop.
Arguments $args = array()
An arguments array or string, as used in the WordPress function get_posts, which uses the same defaults as that function, with the following changes:
- posts_per_page = -1
- post_type = the name of this post type (enforced, cannot be changed)