[Plugin: JSON API] Custom post type support in get_post and get_page
Just thought I’d leave this here as it had me stumped for a while – the post_type variable DOES exist for get_post and get_page, it’s just not mentioned in the documentation for these methods (presumably too recent an addition?) So to request a post from a custom type called ‘info’:
Serious thanks for this plugin, it really is a huge boost to WordPress.
- The topic ‘[Plugin: JSON API] Custom post type support in get_post and get_page’ is closed to new replies.