graphql_validation_rules

Return the validation rules to use in the request

apply_filters( 'graphql_validation_rules', array $validation_rules, Request $request );

Params

  • $validation_rules (array): The validation rules to use in the request
  • $request (Request): The Request instance