wp_kses_check_attr_val
wp_kses_check_attr_val ( $value, $vless, $checkname, $checkvalue )
Parameters:- (string) value Attribute value.
- (string) vless Whether the attribute is valueless. Use 'y' or 'n'.
- (string) checkname What $checkvalue is checking for.
- (mixed) checkvalue What constraint the value should pass.
Returns:- (bool) Whether check passes.
Defined at: - Introduced in WordPress: 1.0.0
- Deprecated in WordPress: —
Description
Performs different checks for attribute values.The currently implemented checks are "maxlen", "minlen", "maxval", "minval",
and "valueless".