graphql_term_object_insert_term_args
apply_filters( 'graphql_term_object_insert_term_args', $insert_args, $input, $taxonomy, $mutation_name );
Filter the $insert_args
- Type: filter
- Group: Model Layer
- Since: 0.0.5
- Source File:
plugins/wp-graphql/src/Data/TermObjectMutation.php
Parameters
$insert_args(array<string,mixed>): The array of input args that will be passed to the functions that insert terms$input(array<string,mixed>): The data that was entered as input for the mutation$taxonomy(\WP_Taxonomy): The taxonomy object of the term being mutated$mutation_name(string): The name of the mutation being performed (create, edit, etc)
Source
apply_filters( 'graphql_term_object_insert_term_args', $insert_args, $input, $taxonomy, $mutation_name );
Related
TermObjectMutation::prepare_object()inplugins/wp-graphql/src/Data/TermObjectMutation.php:111