graphql_comment_object_mutation_update_additional_data
Fires an action when comment meta is updated
Params
- $comment_id (int): The ID of the comment
- $input (array): The input for the mutation
- $mutation_name (string): The name of the mutation (ex: create, update, delete)
- $context (AppContext): The AppContext passed down to all resolvers
- $info (ResolveInfo): The ResolveInfo passed down to all resolvers
- $intended_comment_status (string): The intended comment status according to the mutation input
- $default_comment_status (string): The default status the comment should use if an intended status wasn’t set