graphql_excluded_mutations
apply_filters( 'graphql_excluded_mutations', [] );
Filter the list of GraphQL mutations to excluded from the registry.
- Type: filter
- Group: Schema Registration
- Since: 1.14.0
- Source File:
plugins/wp-graphql/src/Registry/TypeRegistry.php
Parameters
$excluded_mutations(string[]): The names of the GraphQL mutations to exclude.
Source
apply_filters( 'graphql_excluded_mutations', [] );
Related
TypeRegistry::get_excluded_mutations()inplugins/wp-graphql/src/Registry/TypeRegistry.php:1882