graphql_app_context_config
apply_filters( 'graphql_app_context_config', $this->config );
This filters the config for the AppContext. This can be used to store additional context config, which is available to resolvers throughout the resolution of a GraphQL request.
- Type: filter
- Group: Request Lifecycle
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/AppContext.php
Parameters
$config(mixed[]): The config array of the AppContext object
Source
apply_filters( 'graphql_app_context_config', $this->config );
Related
AppContext::__construct()inplugins/wp-graphql/src/AppContext.php:179