rest_sanitize_value_from_schema


rest_sanitize_value_from_schema ( $value, $args )

Parameters:
  • (mixed) $value The value to sanitize.
  • (array) $args Schema array to use for sanitization.
Returns:
  • (true|WP_Error)
Defined at:

Description

Sanitize a value based on a schema.

Related Functions

rest_validate_value_from_schema, rest_sanitize_boolean, rest_sanitize_request_arg, sanitize_title_for_query, rest_send_allow_header

Top Google Results

User discussions

wpseek mobile