Masterpress 1.3.6 is a compatibility release. It resolves an edge case with shared fieldsets not working for MySQL 8 when the fieldset is limited to more than 1 post type or taxonomy or excluding any post types or taxonomies.
A powerful method to retrieve a list of posts that are attached to this term, of a specific type, 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.
The name of the post type.
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 => the value of the $name argument
- tax_query => The taxonomy query to match the other arguments provided (enforced)