Skip to main content
added 58 characters in body
Source Link
Carl Alberto
  • 1.1k
  • 1
  • 12
  • 30

I have a WP site that hasruns on WP version 4.3 and using a plugin WP REST API version2-beta9. I have a custom post type animals which has an ACF select field of class which has values like mammals, reptile, etc.

If getting values of custom post types is available for WP REST API, is it possible that I can GET request on my endpoint to retrieve values of all mammals under the animals custom post type? If yes, how do I do that?

I have a WP site that has a custom post type animals which has an ACF select field of class which has values like mammals, reptile, etc.

If getting values of custom post types is available for WP REST API, is it possible that I can GET request on my endpoint to retrieve values of all mammals under the animals custom post type? If yes, how do I do that?

I have a WP site that runs on WP version 4.3 and using a plugin WP REST API version2-beta9. I have a custom post type animals which has an ACF select field of class which has values like mammals, reptile, etc.

If getting values of custom post types is available for WP REST API, is it possible that I can GET request on my endpoint to retrieve values of all mammals under the animals custom post type? If yes, how do I do that?

Source Link
Carl Alberto
  • 1.1k
  • 1
  • 12
  • 30

WP REST API - reading custom post type

I have a WP site that has a custom post type animals which has an ACF select field of class which has values like mammals, reptile, etc.

If getting values of custom post types is available for WP REST API, is it possible that I can GET request on my endpoint to retrieve values of all mammals under the animals custom post type? If yes, how do I do that?