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:

Description

Performs different checks for attribute values.

The currently implemented checks are "maxlen", "minlen", "maxval", "minval", and "valueless".

Related Functions

wp_kses_one_attr, wp_kses_attr, wp_kses_attr_parse, wp_kses_attr_check, wp_kses_hair_parse

Top Google Results

User discussions

wpseek mobile