graphql_insert_post_object
Fires after a single term is created or updated via a GraphQL mutation
Params
- $post_id (int): Inserted post ID
- $post_type_object (WP_Post_Type): The Post Type object for the post being mutated
- $args (array): The args used to insert the term
- $mutation_name (string): The name of the mutation being performed