Validate::sanitize_textarea_field( null|string|array $value = null )
Description #
Sanitize textarea value using sanitize_textarea_field.
Parameters #
- $valuenull | string | array (Optional) String or array to sanitize. Default value: null
Source #
File: lib/class-validate.php
43 44 45 46 47 | public static function sanitize_textarea_field( $value = null ) { if ( null !== $value ) { return is_array ( $value ) ? array_map ( 'sanitize_textarea_field' , $value ) : sanitize_textarea_field( $value ); } } |
Expand full source code Collapse full source code View on GitHub: lib/class-validate.php:43
Add your comment