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 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)