wp_kses_hair_parse


wp_kses_hair_parse ( $attr )

Parameters:
  • (string) attr Attribute list from HTML element to closing HTML element tag.
Returns:
  • (array|false) List of attributes found in $attr. Returns false on failure.
Defined at:

Description

Builds an attribute list from string containing attributes.Does not modify input. May return "evil" output. In case of unexpected input, returns false instead of stripping things. Based on `wp_kses_hair()` but does not return a multi-dimensional array.

Related Functions

wp_kses_attr_parse, wp_kses_hair, wp_kses_attr, wp_kses_attr_check, wp_kses_data

Top Google Results

User discussions

wpseek mobile