I can do this:
Get all posts (defaults to ‘post’ type):
Get defined post types:
Get single post by id (e.g. ’11’):
I can see that the getPosts method accepts a $filters argument. How would I pass filters to the posts endpoint?
Thanks for any information and for contributing this plugin!
- The topic ‘Passing filters’ is closed to new replies.