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

graphql_comment_insert_post_args

Filter the $insert_post_args

Params

  • $output_args (array): The array of $input_post_args that will be passed to wp_new_comment
  • $input (array): The data that was entered as input for the mutation
  • $mutation_type (string): The type of mutation being performed ( create, edit, etc )