Homepage
Link to WPGraphQL on Github
Link to WPGraphQL on WordPress.org

graphql_term_object_insert_term_args

Filter the $insert_args

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)