Validate::sanitize_array_map_boolean( null|array $value = null )
Description #
Sanitize field value and return only boolean.
Parameters #
- $valuenull | array (Optional) Array to sanitize. Default value: null
Source #
File: lib/class-validate.php
public static function sanitize_array_map_boolean( $value = null ) { if ( ! empty( $value ) ) { return array_map( array( __CLASS__, 'sanitize_boolean' ), $value ); } }
Expand full source code Collapse full source code View on GitHub: lib/class-validate.php:127
Add your comment