graphql_wp_object_type_config

Filter the config of WPObjectType

apply_filters( 'graphql_wp_object_type_config', array $config, WPObjectType $object_type );

Params

  • $config (array): Array of configuration options passed to the WPObjectType when instantiating a new type
  • $object_type (WPObjectType): The instance of the WPObjectType class