rest_sanitize_boolean


rest_sanitize_boolean ( $value )

Parameters:
  • (bool|string|int) $value The value being evaluated.
Returns:
  • (boolean) 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_request_arg, sanitize_bookmark, sanitize_option, sanitize_meta

Top Google Results

User discussions

wpseek mobile