TL;DR – ACF now has support for the WP REST API
Hey all, Iain the Product Manager for Advanced Custom Fields here 👋
As part of the ACF 5.11 release we added native support for ACF fields in the WordPress REST API. Read more about that here.
Related Posts:
- WP Rest API v2 return posts with specific tag
- Querying A Post That Includes Two Taxonomies Using JSON Rest API
- Loop Performance > JSON files vs. WP_Query vs. REST API
- Custom Taxonomy in custom REST API search
- Display List Of Posts Containing a Relationship Field Value [ACF]
- WP JSON REST API (Ryan McCue) how to query posts with specific meta data with ‘AND’ relation?
- WP_Query result in form of Rest API results
- Using OR conditions in meta_query for query_posts argument
- ACF Relationship Field Search Filtering [closed]
- JSON: schedule creation of json file
- ACF datepicker meta_query Compare Dates in m/d/Y g:i a – Not in Ymd Format
- How to filter by category in REST API, excluding posts also in other category term?
- How to: Rest endpoint returning empty object
- Multiple endpoints in one URL
- WordPress meta_query and order by custom field
- Revolution Slider Orderby Two Custom Fields
- meta_query with array as value
- query posts in functions.php and update a field
- Why use JSON API to display recent posts?
- Order WP Query posts by custom order calculated from post meta values
- Minimising number of queries on a page when using Advanced Custom Fields
- Query Posts depends on custom field inside repeater field using acf
- WP Rest API max limit include parameter?
- ACF Relationship + WP Template Parts
- Minimising Database Queries when using Advanced Custom Fields
- ACF – Get lowest & highest value from field
- If two first numbers exist in wp_meta_query value
- WP_Query meta_query >= date
- WP Rest endpoint with custom post type and ACF Fields
- How can I convert results of WP_Query (of Custom Post Type, with Custom Fields) to JavaScript?
- How To Fix WP Query Returns Results But Shouldn’t?
- ACF Date Based wp_query
- Multiple taxonomy And acf filter group by
- WP_Query To call data from diffrent tables
- Custom query based on meta key – Reduce three states to two in results?
- Include custom field in Ajax search WordPress
- What is the random string I am seeing when I use get_query_var?
- Return only post(s) which have post_excerpt
- Any number in meta key (wp query)
- How do I run through a WordPress loop called from a filter function?
- How can I create ‘future’ and ‘past’ parameter for restAPI by filtering the CPT custom date field by greater than / less than current datetime?
- How can I display a custom field from all posts and order them individually from their parent post
- How to use wp_query to post count by search term > group post count by date > convert to json. (ex. result 12-21-2020 – 343)
- Custom endpoint to get all custom taxonomy terms
- How does one perform a sub query with different post types
- Is there a way to work with a specific the_field from an already queried post? [closed]
- How to Union two different conditions in one WP_Query
- REST API: Limit Read Permissions for Default Endpoints
- Excluding pages in WP_query using ACF
- How to do a wp_query with two acf-fields, sorting on one of them
- Using Advanced Custom Field for file upload, how do I load the file url
- Multisite wp_query & switch_to_blog issue
- Stuck in the query loop
- Get all fields inlcuding “ACF” (Advanced Custom Fields) columns in wp_query
- WP_Query with meta_query dosen’t return results
- wordpress ajax relationship query
- Is there a better way to pull in custom content without querying posts?
- How to add/edit advanced custom fields on custom post type’s WordPress REST API?
- Include post content of linked posts in search
- WP User Query with Custom Fields and Search Results
- ACF accessing a field from the query, but not in post
- filter wp_query result with custom field values
- How to make posts unqueryable/unpublish posts where ACF relationship field is an unpublished post? [closed]
- Merge 2 custom post type posts and taxonomy terms and sort ascending
- Add ACF field in a query
- Get user first name from custom endpoint
- Query_vars support in Rest API
- Custom route and query
- Expecting statement error from php loop using ACF plugin
- Custom query filter by ACF date custom field
- How to get more data of a post by wp_query
- Get a list of ACF Repeater-Fields as array
- WordPress dynamic AJAX query
- WP Query orderby ACF boolean values and ACF field value
- Optimising WP_Query with ACF Fields
- How can I return only IDs from the `posts` REST endpoint?
- Optimal WP Web App Backend for mobile app development
- How to search by slug and old slug in single API
- WP_Query retuning empty array in rest api
- Order WP_Query by meta_key priority when ‘OR’ relation used for multiple meta values
- Multi-layered WP_Query
- Oxygen Repeater Advanced Query
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- Nearby locations using Advanced custom fields, maps?
- WP_Query – display posts by custom field and order by another
- WP_Query for distinct meta values
- Group Product Types
- WPQuery Date and ACF
- Excluding posts from search results page with meta query not working
- Populate select list with meta values from all posts of a Custom Post Type
- Form checkbox value going to dynamic URL
- ACF: How can I publish values of ACF fields in a loop while using wp_query?
- WP Query by variable custom field
- wc_get_products() return empty object
- What’s the right way to validate JSON data coming from an AJAX POST request?
- How can I filter products by meta in Woocommerce REST API?
- create custom shortcode wp and put php code in
- Query for getting posts with their custom fields data in WordPress
- Why does my output of get_the_ID() change after a wp_query?
- How to get taxonomy image attached to a Post Type WordPress