graphql_show_admin

apply_filters( 'graphql_show_admin', true );

Filters whether WPGraphQL admin pages should be visible.

  • Type: filter
  • Group: Settings and Admin
  • Since: 0.13.0
  • Source File: plugins/wp-graphql/src/Admin/Admin.php

Parameters

  • $show_admin (bool): Whether WPGraphQL admin pages should be visible.

Source

apply_filters( 'graphql_show_admin', true );