rest_sanitize_boolean


rest_sanitize_boolean ( $value )

Parameters:
  • (bool|string|int) value The value being evaluated.
Returns:
  • (bool) Returns the proper associated boolean value.
Defined at:

Description

Changes a boolean-like value into the proper boolean value.

Related Functions

rest_is_boolean, rest_sanitize_object, rest_sanitize_array, rest_sanitize_request_arg, sanitize_bookmark

Top Google Results

User discussions

wpseek mobile