Couldn’t get it to work. The only solution that I found was to setup a custom endpoint:
Related Posts:
- Custom Post type with ACF in REST API, how do I get those values?
- Exclude objects from WordPress API based from ACF field using rest_prepare_{$post_type}
- How to add/edit advanced custom fields on custom post type’s WordPress REST API?
- set_query_params using custom params defined in functions file?
- With Rest V2 (WP4.7) how does one restrict certain RESTFUL verbs?
- Filter by custom field in custom post type on admin page
- Getting custom taxonomy from custom post type
- Media library – Limit images to custom post type
- Custom post types filtered by taxonomy using REST API v2
- Filter next_post_link() and previous_post_link() by meta_key?
- Fetch All Posts (Including Those Using a Custom Post Type) With WordPress API
- importing third party json feed as custom post type [closed]
- how to get posts by custom post type then display Custom fields?
- Update CPT meta data using REST API
- How do I Filter Custom Post Type by Custom Taxonomy in the newest WordPress RESTful API?
- Filtering a WP_Query meta_query by numeric values isn’t working
- WordPress REST Create Post of Custom Type
- Populate a ACF Select Dropdown from Custom Post Type
- Automatically fill custom field value on post publish/update
- REST API: How can I restrict a custom post type to only be accessible by authenticated users?
- Show custom post type endpoint in REST API just if user has capability
- Filter a custom field based on selection of another custom field (ACF) [closed]
- Make permalinks based on an ACF-field
- ACF Relationships in Custom Post Type Permalink
- How to sort a table of custom posts by column containing custom field
- WordPress Search documentation: how to improve search query using taxonomy terms, custom meta fields?
- How to force Authentication on REST API for Password protected page using custom table and fetch() without Plugin
- Meta Query “IN” doesn’t work with ACF checkbox filter
- How to get dynamically custom post type that are under a certain category
- Get the Category Name instead of ID from WP-API
- Retrieve a specific field from taxonomy term through advanced custom fields [closed]
- List events by month
- Use Custom Post Type as Custom Field
- Count custom post types with a specific meta value
- Rest Api v2 orderby meta_key in custom post type
- Query by 2 values of a repeater ACF field
- Get custom post type REST API not working
- Insert slider (Custom Post Type) into pages
- get terms that have post with custom post type between 2 values
- How to set custom post type as post title to avoid ‘Auto Draft’
- Pull image from ACF field in a Custom Post Type
- Archive filter disappears on no results?
- Query current and future events, ordered by begin date
- Show ACF field from custom taxonomy and display on the single template
- Change message given when deleting post from custom post type
- Building an Advanced Search (text, tags, category, custom fields) – Getting the wrong SQL query
- How to add custom fields to admin UI and REST API response?
- Display posts if a custom field value is equal to another custom field value
- WordPress Rest API only returns content when posttype has editor capability
- ACF Upload Image in repeater from front-end with custom form? – add_post_meta()
- Linking three taxonomies with ACF
- Custom search with Custom Fields in WP REST API?
- Get Custom Field Values by Another Custom Field in WordPress
- Wp Rest API request posts from a custom taxonomy
- Recommended way to remove WP REST API returned data for custom post
- WordPress custom post type archive with description
- wp_update_post based function works on existing posts, but not new posts
- How to Display ACF Relationship Custom Field as Link to Specific Custom Post?
- Show custom field from custom taxanomy term on custom post type
- Query Custom Post Types by date (custom field) range
- Custom Post Type and API REST is not working
- Add custom post type to Backbone collections
- How to replace custom post type slug with an ACF value?
- React post to WordPress custom post type
- How to create an array for a CPT post ID to use in an IF/WHILE statement
- Link users to a custom post type
- Remove duplicated values from a loop
- How to retrieve category NAME instead of ID in a function with a taxonomy custom field?
- “add_post_type_support” with Custom Post Type & ACF
- ACF simple text field value not showing
- is_main_query() not working for WP REST API
- Post Object Filter by Custom Field, not title (ACF)
- Custom Post Types not showing, custom WP_Query
- Rewrite WordPress URL to show CPT meta field data
- Create 3 Level Relations with ACF and WordPress
- Custom Post type and Custom Field WP_Query
- Display multiple custom post types and sort them chronological by one of their fields
- Very simple wordpress block to display posts from an api call
- How to display Custom Post Type Post based on Tag with Shortcode Parameter?
- Add custom parameter to REST API request of a custom post type?
- Custom Taxonomy Invalid in REST API
- Multiple ACF Repeaters within a Custom Post Type
- How to change post featured image using a custom field of category?
- How do I get the intended post type of a revision post?
- Using The REST API How To Pull All Custom Posts?
- Validate custom fields before save using WordPress Rest API
- get_posts of Custom Post Type AND Custom Taxonomy
- How to: Display ACF [fields] on Custom Post Types Utilising WordPress ‘Hooks’? [closed]
- Custom fields vs. Custom post types for a Portfolio Website
- Retrieve value of a category’s custom field
- How can I dynamically add a post to a custom post type which uses a custom field?
- Problem with WordPress query on page using custom fields
- the_content() not outputting anything (Advanced Custom Fields)
- Cannot add custom field to “orderby” parameter in Rest API
- How to add a post slug to a url?
- Add custom ID to CPT posts only create not update
- Custom Taxonomy terms aren’t getting referenced or saved in Quick Edit or Bulk Edit, only on Single product page?
- WP_Query to select custom post type with Advanced Custom Fields (ACF) date
- Bulk Update Custom Fields for Custom Post Types
- ACF Field on CPT Slug