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.
A preset on the WOOF::query_posts method, to retrieve the posts for this term, 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:
- orderby => “date”
- order => “desc”
- posts_per_page => -1
- post_type => “any”
- tax_query => The taxonomy query to match the other arguments provided (enforced)
- query => 1 (enforced). Flags that this should run WordPress’ query_posts method to affect the main query loop