Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

graphql_show_admin

This filter can be used to disable or enable the GraphQL Admin pages with code.

If the admin pages have been de-activated from the Settings UI, the only way to re-enable to Settings pages is by using this filter.

Params

  • $enabled (bool): Whether the GraphQL admin should be enabled