wp_kses_hair_parse


wp_kses_hair_parse ( $attr )

Parameters:
  • (string) attr Attribute list from HTML element to closing HTML element tag.
Returns:
  • (array|bool) 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_check, wp_kses_post, wp_kses_attr

Top Google Results

User discussions

wpseek mobile