0279-filters-register-graphql-taxonomy-args
title: register_graphql_taxonomy_args hookType: filter hookGroup: schema-registration plugin: wp-graphql
register_graphql_taxonomy_args
apply_filters( 'register_graphql_taxonomy_args', $graphql_args, $taxonomy_name );
Filters the graphql args set on a taxonomy
- Type: filter
- Group: Schema Registration
- Since: 1.12.0
- Source File:
plugins/wp-graphql/src/WPGraphQL.php
Parameters
$args(array<string,mixed>): The graphql specific args for the taxonomy$taxonomy_name(string): The name of the taxonomy being registered
Source
apply_filters( 'register_graphql_taxonomy_args', $graphql_args, $taxonomy_name );
Related
WPGraphQL::register_graphql_taxonomy_args()inplugins/wp-graphql/src/WPGraphQL.php:659
这篇文档对你有帮助吗?
谢谢你的反馈!