Validate::sanitize_wp_kses( null|string $value = null )

Description #

Sanitize field value using wp_kses.

Parameters #

  • $value
    null | 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() );
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment