WPGraphQL for Advanced Custom Fields

Interact with your Advanced Custom Field data using GraphQL Queries

Download the Plugin

How it Works

WPGraphQL for Advanced Custom Fields automatically exposes your ACF fields to the WPGraphQL Schema

Screenshot of Advanced Custom Fields field group user interface

Create your ACF Fields

Create your ACF Field Groups and Fields, the same way you normally would, using the ACF User Interface, registering your fields with PHP or using ACF local-json. Each field group and the fields within it can be configured to "Show in GraphQL".

Query with GraphQL

Once your field groups and fields have been configured to "Show in GraphQL", they will be available in the GraphQL Schema and ready for querying!

Screenshot of Advanced Custom Fields field group user interface

Supported Fields

Text
Text Area
Number
Range
Email
URL
Password
Image
File
WYSIWYG
oEmbed
Select
Checkbox
Radio Button
Button Group
True False
Link
Post Object
Page Link
Relationship
Taxonomy
User
Google Map
Date Picker
Date/Time Picker
Time Picker
Color Picker
Group
Repeater
Flex Field
Gallery

WPGraphQL for Advanced Custom Fields supports nearly all of the ACF (free & pro) fields. Some of the fields, such as Accordion and Tab, which are not data fields are not supported. The Clone field needs some more assessment to determine if it can properly be supported. Fields from 3rd party extensions are not supported out of the box.

Why WPGraphQL for ACF?

Time

WPGraphQL is highly extendable, but it can be time consuming to expose fields to the Schema. This plugin can save you heaps of time.

Performance

WPGraphQL is one of the fastest ways to query data in WordPress, and now we bring that performance to ACF data too.

Support

Receive the same great community support as the core WPGraphQL plugin through channels such as Github and Slack.

Works with Popular JavaScript Frameworks

React Logo
Vue Logo
NextJS Logo
Gatsby Logo
Ember Logo
Angular Logo

Pricing & Support

WPGraphQL for Advanced Custom Fields is a FREE open-source WordPress plugin. The code is available on Github. Support and feature requests are handled through issues. For general questions about the plugin, visit the WPGraphQL Slack.

FAQ