Fires an action when a term is updated via a GraphQL Mutation
do_action( 'graphql_update_term', int $term_id, WP_Taxonomy $taxonomy, array $args, string $mutation_name, AppContext $context, ResolveInfo $info );
Params
For graphql_update_term
- $term_id (int): Inserted term object
- $taxonomy (WP_Taxonomy): The taxonomy of the term being updated
- $args (array): The args used to insert the term
- $mutation_name (string): The name of the mutation being performed
- $context (AppContext): The AppContext passed down the resolve tree
- $info (ResolveInfo): The ResolveInfo passed down the resolve tree