Skip to content

ACF Post Type Not Displaying in WPGraphQL Schema #253

@hieunm156

Description

@hieunm156

Description

I am experiencing an issue where post types created using the ACF (Advanced Custom Fields) plugin are not appearing in the WPGraphQL schema.

Steps to reproduce

  1. Create a new post type using the ACF plugin.
  2. Ensure that the post type is set to be publicly queryable.
  3. Open the GraphiQL IDE and navigate to the Query Composer. The newly created post type will not be visible in the list.

Expected Behavior:
The post type should be visible in the WPGraphQL schema.

Actual Behavior:
The post type does not appear in the schema.

PHP or JSON export of the ACF Field Group(s)

acf-export-2025-03-21.json

Additional context

No response

WPGraphQL Version

2.1.1

WPGraphQL For ACF Version

2.4.1

ACF (Advanced Custom Fields) Version. Free or Pro?

6.3.12 PRO

WordPress Version

6.7.2

PHP Version

8.2.4

Additional enviornment details

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.

  • Yes
  • My issue is with compatibility with a specific WordPress plugin, and I have listed all my installed plugins (and version info) above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions