graphql_wp_interface_type_config

Filter the config of WPInterfaceType

apply_filters( 'graphql_wp_interface_type_config', array $config, WPInterfaceType $interface_type );

Params

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