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

graphql_server_config

Run an action when the server config is created. The config can be acted upon directly to override default values or implement new features, e.g., $config->setValidationRules()

Params

  • $config (ServerConfig): The Server config
  • $params (OperationParams): Request operation params

Source

File: wp-graphql/src/Request.php