graphql_user_insert_post_args

Filters the mappings for input to arguments

apply_filters( 'graphql_user_insert_post_args', array $insert_user_args, array $input, string $mutation_name );

Params

  • $insert_user_args (array): The arguments to ultimately be passed to the WordPress function
  • $input (array): Input data from the GraphQL mutation
  • $mutation_name (string): What user mutation is being performed for context