graphql_wp_connection_type
do_action( 'graphql_wp_connection_type', $config, $this );
Run an action when the WPConnectionType is instantiating.
- Type: action
- Group: Schema Registration
- Since: 1.13.0
- Source File:
plugins/wp-graphql/src/Type/WPConnectionType.php
Parameters
$config(array<string,mixed>): Array of configuration options passed to the WPObjectType when instantiating a new type$wp_connection_type(\WPGraphQL\Type\WPConnectionType): The instance of the WPConnectionType class
Source
do_action( 'graphql_wp_connection_type', $config, $this );
Related
WPConnectionType::__construct()inplugins/wp-graphql/src/Type/WPConnectionType.php:203