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