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

graphql_update_term

Fires an action when a term is updated via a GraphQL Mutation

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

Source

File: wp-graphql/src/Mutation/TermObjectUpdate.php