graphql_term_object_insert_term_args
Filter the $insert_args
apply_filters( 'graphql_term_object_insert_term_args', array $insert_args, array $input, WP_Taxonomy $taxonomy, string $mutation_name );
Params
- $insert_args (array): The array of input args that will be passed to the functions that insert terms
- $input (array): 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)