Skip to content
Sign in

WPGraphQL

WPGraphQL adds a flexible GraphQL API to WordPress, enabling efficient querying and interaction with your site's data.

Not scanned yet WordPress plugin 30k installs

Install in

No install steps yet

Follow the steps on the source page.

WPGraphQL is a free, open-source WordPress plugin that provides an extendable GraphQL schema and API for any WordPress site.

Get Started

  1. Install WPGraphQL: wp plugin install wp-graphql --activate
  2. Try it out: Live Demo
  3. Read the Quick Start Guide.
  4. Join the Community on Discord and Star the Repo!

Key Features

  • Flexible API: Query posts, pages, custom post types, taxonomies, users, and more.
  • Extendable Schema: Easily add functionality with WPGraphQL’s API, enabling custom integrations.
  • Compatible with Modern Frameworks: Works seamlessly with Next.js, Astro, SvelteKit, and more.
  • Optimized Performance: Fetch exactly the data you need in a single query. Boost performance with WPGraphQL Smart Cache.

WPGraphQL is becoming a Canonical Plugin on WordPress.org, ensuring long-term support and a growing community of users and contributors.

Upgrading

It is recommended that anytime you want to update WPGraphQL that you get familiar with what’s changed in the release.

WPGraphQL publishes release notes on Github.

WPGraphQL has been following Semver practices for a few years. We will continue to follow Semver and let version numbers communicate meaning. The summary of Semver versioning is as follows:

  • MAJOR version when you make incompatible API changes,
  • MINOR version when you add functionality in a backwards compatible manner, and
  • PATCH version when you make backwards compatible bug fixes.

You can read more about the details of Semver at semver.org

Privacy Policy

WPGraphQL uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster and make product improvements.

Appsero SDK does not gather any data by default. The SDK starts gathering basic telemetry data only when a user allows it via the admin notice.

You can stop sharing at any time by unchecking Share usage data with the WPGraphQL team next to WPGraphQL under GraphQL Settings Data Sharing. Opting out stops all further check-ins, including the copies sent to https://telemetry.wpgraphql.com. When you opt out, one final request records the opt-out with Appsero (and its copy at https://telemetry.wpgraphql.com). It includes a hashed identifier for your site, but no site details.

When you opt in, each telemetry request is sent to Appsero and a duplicate is sent in a non-blocking request to WPGraphQL-operated infrastructure at https://telemetry.wpgraphql.com (the same categories of data as described for Appsero below, except this site’s admin email address and an administrator’s name, which the copy leaves out). If you deactivate the plugin from the Plugins screen while opted in, a feedback form may ask why; submitting it sends that reason with the same categories of site details as a regular check-in. If you have not opted in, deactivation skips the form and sends nothing.

Sharing usage data doesn’t sign anyone up for email, even though the usage data sent to Appsero includes this site’s admin email address and an administrator’s name.

Email updates about security releases and breaking changes, along with occasional product news, are a separate choice, also under GraphQL Settings Data Sharing. Checking Email me about security releases, breaking changes and occasional product news in WPGraphQL and saving sends the address you enter, this site’s URL and the WPGraphQL version to https://telemetry.wpgraphql.com, which emails a confirmation link to that address unless it’s already subscribed. Nothing is subscribed until the link is clicked. The site keeps a record of the address and when the confirmation was requested until you uncheck the box. Unchecking it doesn’t unsubscribe the address; use the unsubscribe link in any of the emails.

Learn more about how Appsero collects and uses this data.

Written by Joobi from the project's own listing. See the source page

decoupledgraphqlheadlessreactrest-api
20 Nov 2026
Version 2.29.0 released. Not scanned yet.

2.29.0

New Features

  • add a Data Sharing settings tab for usage data opt-ins (#4697)
  • add email updates to the Data Sharing tab and its opt-in notice (#4708)
  • add TypeRegistry::has_registered_field() to check a field name before a type is built (#4728)
  • deps: bump the npm-prod-minor-patch group across 1 directory with 6 updates (#4715)
  • leave the admin email and an administrator’s name out of the usage data copy sent to telemetry.wpgraphql.com (#4707)

Bug Fixes

  • deps-dev: bump @wordpress/babel-preset-default from 8.56.0 to 9.0.0 (#4689)
  • deps-dev: bump phpstan/phpstan from 2.3.4 to 2.3.5 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4718)
  • deps-dev: bump the npm-dev-minor-patch group across 1 directory with 8 updates (#4714)
  • deps-dev: bump the wp-graphql-composer-dev-minor-patch group in /plugins/wp-graphql with 2 updates (#4684)
  • mutations: handle failed and disabled password reset emails (#4680)
  • mutations: save empty values in post and term mutations (#4679)
  • mutations: stop updateMediaItem erasing fields left out of the input (#4678)
  • say that email updates include occasional product news (#4733)
  • stop calling descriptions that name a PHP function (#4717)
  • stop escaping quotes in settings section descriptions (#4699)
  • translate the Extensions page descriptions and Smart Cache setting labels (#4730)

2.28.0

New Features

  • give resolvers the right current post, term or user, and restore global state afterward (#4575)

2.27.1

Bug Fixes

  • require edit_others_posts to read other users’ posts in any non-public status (#4702)

2.27.0

New Features

  • add hasPublishedContent user connection arg and deprecate hasPublishedPosts (#4612)
  • mutations: add graphql_term_object_mutation_update_additional_data action (#4623)
  • preview the post format from the preview context (#4617)

Bug Fixes

  • mutations: pass updateComment as the mutation name when updating a comment (#4625)
  • only show deactivation feedback when usage tracking is opted in (#4655)

2.26.2

Bug Fixes

  • return no results for malformed connection cursors (#4613)

2.26.1

Bug Fixes

  • deps-dev: bump the wp-graphql-composer-dev-minor-patch group in /plugins/wp-graphql with 2 updates (#4630)
  • deps: bump webonyx/graphql-php from 15.38.1 to 15.39.0 in /plugins/wp-graphql (#4633)
  • limit comment connection filters and counts to comments the requester can see (#4642)
  • require manage_options to read settings exposed only through the REST API (#4641)

2.26.0

New Features

  • add Site Health recommendations for WPGraphQL security settings (#4536)
  • add static to_global_id() helper to models (#4586)
  • deps: bump the npm-prod-minor-patch group with 6 updates (#4592)
  • let sites opt out of usage tracking from settings (#4508)

Bug Fixes

  • deps-dev: bump symfony/yaml from 5.4.53 to 5.4.54 in /plugins/wp-graphql (#4599)
  • deps-dev: bump the npm-dev-minor-patch group across 1 directory with 4 updates (#4601)
  • deps-dev: bump the npm-dev-minor-patch group with 8 updates (#4591)
  • show a readable error when installing or activating an extension fails (#4568)

2.25.0

New Features

  • deps: bump the npm-prod-minor-patch group across 1 directory with 13 updates (#4490)

Bug Fixes

  • deps-dev: bump the npm-dev-minor-patch group with 3 updates (#4496)
  • deps-dev: bump the npm-dev-minor-patch group, with the @wordpress/env patch regenerated (#4478)
  • deps-dev: bump the wp-graphql-composer-dev-minor-patch group across 1 directory with 2 updates (#4392)
  • deps: bump the wp-graphql-composer-patch group across 1 directory with 2 updates (#4502)
  • deps: bump webonyx/graphql-php from 15.37.2 to 15.37.3 in /plugins/wp-graphql in the wp-graphql-composer-patch group (#4432)
  • deps: bump webonyx/graphql-php from 15.37.3 to 15.38.0 in /plugins/wp-graphql (#4492)
  • graphql: run WordPress’ moderation filter on edited comments (#4476)

2.24.2

Bug Fixes

  • media: reject the local-use NAT64 prefix, and fail closed on a failed AAAA lookup (#4460)
  • mutations: check the capability before looking up the target, in four more mutations (#4461)
  • mutations: keep a comment’s stored byline when only its content is edited (#4458)
  • mutations: stop comment mutations telling logged-in callers which comment IDs exist (#4459)
  • release: stop release-please rewriting changelog entries that name its annotations (#4450)

2.24.1

Bug Fixes

  • media: reject internal IPv6 addresses written with a dotted-quad tail (#4451)
  • media: reject IPv6 forms that carry an internal IPv4 address (GHSA-3j5r-mp5g-4wrw) (#4446)
  • models: require edit_others_posts to read someone else’s trashed content (GHSA-rq5q-mc8v-w8pq) (#4440)
  • mutations: check the capability before looking up the target (GHSA-r7m4-3v6c-3435) (#4443)
  • mutations: check the target post before creating a comment (GHSA-4vgv-vvxr-9fh9) (#4441)
  • mutations: limit password reset emails to one per request (GHSA-f5f8-v768-93c8) (#4444)
  • mutations: restrict updateComment to content for non-moderators (GHSA-cf67-w9ww-p68v) (#4442)
  • mutations: stop debug output saying whether an account exists (GHSA-6xw5-35v5-2886) (#4445)

2.24.0

New Features

  • add a settings review for security-related settings (#4342)
  • add publiclyQueryable to Taxonomy, and correct the public description (#4425)
  • turn on query depth limiting for new installs and add a max depth filter (#4341)

Bug Fixes

  • ide: show WPGraphQL admin notices above the IDE instead of over it (#4340)
  • report public: false for non-public post types (#4430)
  • report public: false for non-public taxonomies (#4414)
  • show admin notices above the legacy GraphiQL IDE and on the Extensions screen (#4339)
  • stop hiding a taxonomy while serving every term inside it (#4426)

2.23.1

Security

  • tighten media item update authorization: updateMediaItem now verifies that the requesting user can edit the targeted media item, and its new parent, before applying changes. Previously, users with the Author or Contributor role could reassign, and then delete, media items owned by other users. See GHSA-4h2c-85f8-g3jh (#4353)

2.23.0

New Features

  • deps: bump @wordpress/components from 38.0.0 to 39.0.0 (#4330)
  • deps: bump the npm-prod-minor-patch group across 1 directory with 11 updates (#4294)

Bug Fixes

  • deps-dev: bump @wordpress/jest-preset-default from 13.0.0 to 14.0.0 (#4328)
  • deps-dev: bump composer/composer from 2.2.29 to 2.2.30 in /plugins/wp-graphql (#4282)
  • deps-dev: bump phpstan/phpstan from 2.2.10 to 2.2.13 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4323)
  • deps-dev: bump the npm-dev-minor-patch group across 1 directory with 11 updates (#4290)
  • deps-dev: bump the npm-dev-minor-patch group with 4 updates (#4326)
  • extensions page detects installed plugins by file and restores the card grid on WordPress 7 (#4302)

2.22.3

Bug Fixes

  • security: guard root plugin files against direct file access (#4272)
  • security: validate createMediaItem filePath against the resolved host address (GHSA-p8rh)

2.22.2

Bug Fixes

  • security: do not invoke bare callable-string field definitions in Model (#4270)
  • security: enforce object-level and publish capabilities in updatePost (GHSA-5mmc)

2.22.1

Bug Fixes

  • validate user roles before assignment in user mutations (GHSA-66rg)

2.22.0

New Features

  • deps: bump @wordpress/components from 37.0.0 to 38.0.0 (#4260)
  • deps: bump @wordpress/compose from 7.46.0 to 8.5.0 (#4262)
  • deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#4267)

Bug Fixes

  • deps-dev: bump the npm-dev-minor-patch group with 5 updates (#4257)

2.21.1

Bug Fixes

  • deps-dev: bump @testing-library/jest-dom from 6.9.1 to 7.0.0 (#4250)
  • deps-dev: bump @wordpress/jest-preset-default from 12.51.0 to 13.0.0 (#4249)
  • deps-dev: bump the wp-graphql-composer-dev-minor-patch group in /plugins/wp-graphql with 2 updates (#4242)
  • return memoized model field values as data instead of re-invoking them (#4252)

2.21.0

New Features

  • add request-level preview context (X-GraphQL-Preview header / extensions.preview) (#3969)
  • deps: bump @wordpress/components from 34.0.0 to 37.0.0 (#4204)
  • deps: bump the npm-prod-minor-patch group across 1 directory with 5 updates (#4202)
  • deps: bump the npm-prod-minor-patch group with 7 updates (#4218)
  • preview ACF field values under the request-level preview context (#4222)

Bug Fixes

  • deps-dev: bump @typescript-eslint/eslint-plugin from 6.21.0 to 8.65.0 (#4220)
  • deps-dev: bump lint-staged from 16.4.0 to 17.2.0 (#4221)
  • deps-dev: bump phpstan/phpstan from 2.2.7 to 2.2.8 in /plugins/wp-graphql in the wp-graphql-composer-dev-minor-patch group (#4199)
  • deps-dev: bump sort-package-json from 3.7.1 to 4.0.0 (#4219)
  • deps-dev: bump the npm-dev-minor-patch group across 1 directory with 12 updates (#4226)
  • deps-dev: bump the npm-dev-minor-patch group with 5 updates (
14 Nov 2020Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)