Title: WPGraphQL for ACF
Author: Jason Bahl
Published: <strong>19. dets. 2023</strong>
Last modified: 9. apr 2026

---

Search plugins

![](https://ps.w.org/wpgraphql-acf/assets/banner-772x250.png?rev=3125402)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/wpgraphql-acf/assets/icon-256x256.png?rev=3125402)

# WPGraphQL for ACF

 By [Jason Bahl](https://profiles.wordpress.org/jasonbahl/)

[Download](https://downloads.wordpress.org/plugin/wpgraphql-acf.2.5.2.zip)

 * [Details](https://et.wordpress.org/plugins/wpgraphql-acf/#description)
 * [Reviews](https://et.wordpress.org/plugins/wpgraphql-acf/#reviews)
 * [Development](https://et.wordpress.org/plugins/wpgraphql-acf/#developers)

 [Support](https://wordpress.org/support/plugin/wpgraphql-acf/)

## Description

WPGraphQL for Advanced Custom Fields is a free, open-source WordPress plugin that
adds ACF Fields and Field Groups to the WPGraphQL Schema.

#### Create ACF Field Groups

Create ACF Field Groups and Fields using the ACF User Interface, register them with
PHP, or leverage ACF local JSON. Each field group and the fields within it can be
configured to “Show in GraphQL.”

#### Query your fields with GraphQL

Once your field groups and fields are configured to “Show in GraphQL,” they become
available in the GraphQL Schema for querying.

#### Supported Field Types

WPGraphQL for ACF provides support for most built-in field types of ACF (free & 
PRO) and extends support to most field types from ACF Extended (free & PRO).

### Updating

If you are updating from WPGraphQL for ACF v0.6.* or older, check out the [Upgrade Guide](https://acf.wpgraphql.com/upgrade-guide)

For non-major version updates, automatic updates usually should work smoothly, but
we still recommend you back up your site and test on a staging site.

Before updating WPGraphQL for ACF, review the release notes on [GitHub](https://github.com/wp-graphql/wpgraphql-acf/releases).

We follow Semantic Versioning (Semver) for meaningful releases:

 * _MAJOR_ version for incompatible API changes,
 * _MINOR_ version for backwards-compatible functionality additions,
 * _PATCH_ version for backwards-compatible bug fixes.

Learn more about Semver at [semver.org](https://semver.org).

### Support

 * [General Help Requests](https://github.com/wp-graphql/wp-graphql/discussions):
   For general questions and help requests, create a new topic in Github Discussions
 * [Discord Community](https://www.wpgraphql.com/discord): The WPGraphQL Discord
   is a great place to communicate in real-time. Ask questions, discuss features,
   get to know other folks using WPGraphQL.
 * [Bug Reports](https://github.com/wp-graphql/wp-graphql/issues/new?assignees=&labels=&projects=&template=bug_report.yml):
   Report a bug in WPGraphQL
 * [Feature Requests](https://github.com/wp-graphql/wp-graphql/issues/new?assignees=&labels=&projects=&template=feature_request.yml):
   Suggest an idea, feature, or enhancement for WPGraphQL.
 * [Report a Security Vulnerability](https://github.com/wp-graphql/wp-graphql/security/advisories/new):
   Report a security vulnerability.

### FAQs

**Does this work with ACF Extended?**

Yes! WPGraphQL for ACF allows you to query for (most) fields created with ACF Extended.

**Can I filter and sort queries by ACF Fields using WPGraphQL for ACF?**

At this time WPGraphQL for ACF does not support filtering or sorting queries by 
ACF Fields. “Meta Queries” are often very expensive to execute, so we currently 
do not support filtering by ACF fields out of the box, but are exploring options
for supporting it without the performance penalty.

**I think I found a bug, where do I report it?**

If you think you found a bug, please open an issue on [GitHub](https://github.com/wp-graphql/wpgraphql-acf).
The more details you provide in the issue, and the more clear your steps to reproduce
are, the higher chances we will be able to help.

**Can I use ACF Free or Pro with WPGraphQL for ACF?**

Yes! WPGraphQL for ACF works great with ACF Free and Pro. The Pro version of ACF
has some additional features, such as Flexible Content Fields, Repeater Fields and
Options Pages that are supported by WPGraphQL for ACF.

**Do I have to use Faust.js to use WPGraphQL for ACF?**

No! While [wpgraphql.com](https://www.wpgraphql.com) and [acf.wpgraphql.com](https://acf.wpgraphql.com)
are built using [Faust.js](https://faustjs.org/) and Next.js, you can use WPGraphQL
for ACF with any GraphQL client, including Apollo, Relay, Urql, etc.

**I have an ACF Extension that adds a new field type, will it work with WPGraphQL
for ACF?**

WPGraphQL for ACF supports the field types that come with ACF (Free and PRO) as 
well as the field types in ACF Extended (Free and PRO). Support for additional field
types can be added by using the “register_graphql_acf_field_type” API.

**Do I need WPGraphQL and ACF to be active to use this?**

This plugin is a “bridge” plugin that brings functionality of ACF to WPGraphQL. 
Both WPGraphQL and ACF need to be installed and active in your WordPress installation
for this plugin to work.

**How much does WPGraphQL for ACF cost?**

WPGraphQL for ACF is a FREE open-source plugin. The development is sponsored by 
[WP Engine Atlas](https://wpengine.com/atlas).

**Does WPGraphQL for ACF support GraphQL Mutations?**

GraphQL Mutations are not yet supported. We are working on adding support for Mutations
in the future. We are waiting for the GraphQL “@oneOf” directive to be merged into
the GraphQL spec before we add support for Mutations.

**Does this work with Field Groups registered in PHP or JSON?**

Yes! You can register ACF Field Groups and Fields using the Admin UI, PHP or JSON.
WPGraphQL for ACF will detect the Field Groups and Fields and add them to the GraphQL
Schema. If using PHP or JSON, you will need to set the “show_in_graphql” setting
to “true” to expose the Field Group and Fields to the GraphQL Schema. There might
be other settings that need attention at the field group or field level that might
impact the schema or field resolution.

### Privacy Policy

WPGraphQL for Advanced Custom Fields uses [Appsero](https://appsero.com) SDK to 
collect telemetry data upon user confirmation, helping us troubleshoot problems 
and improve the product.

The Appsero SDK **doesn’t collect data by default** and only starts gathering basic
telemetry data when a user allows it via the admin notice. No data is collected 
without user consent.

Learn more about how [Appsero collects and uses data](https://appsero.com/privacy-policy/).

## Screenshots

 * [[
 * [[
 * [[

## Reviews

![](https://secure.gravatar.com/avatar/00d825c9d5b1ac927f1e8f8f15dfffef23e599ae9496612f7f72d7e41cff0627?
s=60&d=retro&r=g)

### 󠀁[Amazing Plugin](https://wordpress.org/support/topic/amazing-plugin-2519/)󠁿

 [andrebfjdigital](https://profiles.wordpress.org/andrebfjdigital/) 20. dets. 2023

Really glad to see the massive effort put in this plugin to work seamlessly in a
Headless WordPress build. Highly recommend it!

 [ Read all 1 review ](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/)

## Contributors & Developers

“WPGraphQL for ACF” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Jason Bahl ](https://profiles.wordpress.org/jasonbahl/)

[Translate “WPGraphQL for ACF” into your language.](https://translate.wordpress.org/projects/wp-plugins/wpgraphql-acf)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/wpgraphql-acf/), check
out the [SVN repository](https://plugins.svn.wordpress.org/wpgraphql-acf/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/wpgraphql-acf/) 
by [RSS](https://plugins.trac.wordpress.org/log/wpgraphql-acf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.4.1

**Chores / Bugfixes**

 * chore: update “tested up to” and stable version tags.

#### 2.4.0

**New Features**

 * [#211](https://github.com/wp-graphql/wpgraphql-acf/pull/211): feat: add wp-graphql
   as required plugin dependency. Thanks @stefanmomm!

**Chores / Bugfixes**

 * [#224](https://github.com/wp-graphql/wpgraphql-acf/pull/224): chore: update issue
   templates config.yml to link to Discord instead of Slack
 * [#223](https://github.com/wp-graphql/wpgraphql-acf/pull/223): chore: update branding
   assets
 * [#214](https://github.com/wp-graphql/wpgraphql-acf/pull/214): chore: bump composer/
   composer from 2.7.4 to 2.7.7 in the composer group across 1 directory
 * [#231](https://github.com/wp-graphql/wpgraphql-acf/pull/231): fix: block type
   tests failing

#### 2.3.0

**New Features**

 * [#193](https://github.com/wp-graphql/wpgraphql-acf/pull/193): feat: improved 
   handling of clone and group fields

**Chores / Bugfixes**

 * [#194](https://github.com/wp-graphql/wpgraphql-acf/pull/194): ci: test against
   WordPress 6.5

#### 2.2.0

**New Features**

 * [#181](https://github.com/wp-graphql/wpgraphql-acf/pull/181): feat: update docs
   Date fields to link to the RFC3339 spec

**Chores / Bugfixes**

 * [#182](https://github.com/wp-graphql/wpgraphql-acf/pull/182): fix: admin_enqueue_scripts
   callback should expect a possible null value passed to it
 * [#185](https://github.com/wp-graphql/wpgraphql-acf/pull/185): fix: clone field
   within a group field type returns null values
 * [#189](https://github.com/wp-graphql/wpgraphql-acf/pull/189): fix: image fields(
   and other connection fields) not properly resolving when queried asPreview

#### 2.1.2

**Chores / Bugfixes**

 * [#178](https://github.com/wp-graphql/wpgraphql-acf/pull/178): fix: Taxonomy field
   returns incorrect data if set to store objects instead of IDs
 * [#174](https://github.com/wp-graphql/wpgraphql-acf/pull/174): fix: taxonomy field
   resolves sorted in the incorrect order

#### 2.1.1

**Chores / Bugfixes**

 * [#167](https://github.com/wp-graphql/wpgraphql-acf/pull/167): fix: pagination
   on connection fields
 * [#166](https://github.com/wp-graphql/wpgraphql-acf/pull/166): fix: errors when
   querying fields of the `acfe_date_range_picker` field type
 * [#165](https://github.com/wp-graphql/wpgraphql-acf/pull/165): fix: user field
   returning all publicly queryable users

#### 2.1.0

**New Features**

 * [#156](https://github.com/wp-graphql/wpgraphql-acf/pull/156): feat: Use published
   ACF values in resolvers for fields associated with posts that use the block editor,
   since the Block Editor has a bug preventing meta from being saved for previews.
   Adds a debug message if ACF fields are queried for with “asPreview” on post(s)
   that use the block editor.

**Chores / Bugfixes**

 * [#156](https://github.com/wp-graphql/wpgraphql-acf/pull/156): fix: ACF Fields
   not resolving when querying “asPreview”
 * [#155](https://github.com/wp-graphql/wpgraphql-acf/pull/155): fix: “show_in_graphql”
   setting not being respected when turned “off”
 * [#152](https://github.com/wp-graphql/wpgraphql-acf/pull/152): fix: performance
   issues with mapping ACF Field Groups to the Schema
 * [#148](https://github.com/wp-graphql/wpgraphql-acf/pull/148): fix: bug when querying
   taxonomy field on blocks
 * [#146](https://github.com/wp-graphql/wpgraphql-acf/pull/146): chore: update phpcs
   to match core WPGraphQL

#### 2.0.0

 * Initial release on WordPress.org. Complete re-architecture of WPGraphQL for ACF
   v0.6.*.
 * For beta release notes leading up to v2.0.0, see the [Github Releases](https://github.com/wp-graphql/wpgraphql-acf/releases).

## Meta

 *  Version **2.5.2**
 *  Last updated **1 nädal ago**
 *  Active installations **10,000+**
 *  WordPress version ** 5.9 or higher **
 *  Tested up to **6.5.8**
 *  PHP version ** 7.3 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/wpgraphql-acf/)
 * Tags
 * [acf](https://et.wordpress.org/plugins/tags/acf/)[api](https://et.wordpress.org/plugins/tags/api/)
   [GraphQL](https://et.wordpress.org/plugins/tags/graphql/)[headless](https://et.wordpress.org/plugins/tags/headless/)
   [nextjs](https://et.wordpress.org/plugins/tags/nextjs/)
 *  [Advanced View](https://et.wordpress.org/plugins/wpgraphql-acf/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wpgraphql-acf/reviews/)

## Contributors

 *   [ Jason Bahl ](https://profiles.wordpress.org/jasonbahl/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/wpgraphql-acf/)