You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 24, 2018. It is now read-only.
V2 API Backbone client - get custom post types #1299
Hi there,
I'm trying to get custom post types via the javascript client in the V2 API.
When I try this code:
Nothing happens.
However if I change it to (for testing purposes) use (say) Pages:
It works correctly.
Do you know how I can retrieve custom post types via the WP-API V2 javascript api? (Or if it's possible).
Thanks!