0143-filters-graphql-debug-enabled
目录
- title: graphql_debug_enabled hookType: filter hookGroup: debugging plugin: wp-graphql
- graphql_debug_enabled
- Parameters
- Source
- Related
title: graphql_debug_enabled hookType: filter hookGroup: debugging plugin: wp-graphql
graphql_debug_enabled
apply_filters( 'graphql_debug_enabled', $enabled );
Filters whether GraphQL debug mode is enabled.
- Type: filter
- Group: Debugging and Instrumentation
- Since: 1.1.5
- Source File:
plugins/wp-graphql/src/WPGraphQL.php
Parameters
$enabled(bool): Whether GraphQL Debug is enabled or not
Source
apply_filters( 'graphql_debug_enabled', $enabled );
Related
WPGraphQL::debug()inplugins/wp-graphql/src/WPGraphQL.php:950