Accessing custom field types via WP API
-
We’re wanting to view custom fields that we created with Types via the official WP-API https://wp-api.org/
We’ve written a custom function that can add any
post_meta
custom fields to the API response, but right now we’re manually listing each field that we want to add to the API response. We’d like to automatically add all custom fields created with Types to the API response. Is there a function we can use in our custom plugin to get a list of the custom fields added via Types?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Accessing custom field types via WP API’ is closed to new replies.