MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
A powerful method to retrieve a list of posts that are attached to this term, in a very concise and easy-to-use way.
This method uses get_posts to retrieve the posts, so you can further clarify this query with the args parameter.
Arguments $args = array()
An arguments array or string further clarifying the query used to retrieve the matching posts, with defaults:
- orderby => “date”
- order => “desc”
- posts_per_page => -1
- post_type => “any”
- tax_query => The taxonomy query to match the other arguments provided (enforced)