0095-actions-graphql-wp-object-type
title: graphql_wp_object_type hookType: action hookGroup: schema-registration plugin: wp-graphql
graphql_wp_object_type
do_action( 'graphql_wp_object_type', $config, $this );
Run an action when the WPObjectType is instantiating
- Type: action
- Group: Schema Registration
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Type/WPObjectType.php
Parameters
$config(array<string,mixed>): Array of configuration options passed to the WPObjectType when instantiating a new type$wp_object_type(\WPGraphQL\Type\WPObjectType): The instance of the WPObjectType class
Source
do_action( 'graphql_wp_object_type', $config, $this );
Related
WPObjectType::__construct()inplugins/wp-graphql/src/Type/WPObjectType.php:120
这篇文档对你有帮助吗?
谢谢你的反馈!