WPGraphQL for Advanced Custom Fields
Interact with your Advanced Custom Field data using GraphQL QueriesDownload the Plugin
How it Works
WPGraphQL for Advanced Custom Fields automatically exposes your ACF fields to the WPGraphQL Schema
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!
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?
WPGraphQL is highly extendable, but it can be time consuming to expose fields to the Schema. This plugin can save you heaps of time.
WPGraphQL is one of the fastest ways to query data in WordPress, and now we bring that performance to ACF data too.
Receive the same great community support as the core WPGraphQL plugin through channels such as Github and Slack.
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.