Validate::sanitize_wp_kses( null|string $value = null )
Description #
Sanitize field value using wp_kses.
Parameters #
- $valuenull | string (Optional) String to sanitize. Default value: null
Source #
File: lib/class-validate.php
public static function sanitize_wp_kses( $value = null ) { if ( null !== $value ) { return wp_kses( $value, ap_form_allowed_tags() ); } }
Expand full source code Collapse full source code View on GitHub: lib/class-validate.php:79
Add your comment