wp_kses_attr_parse


wp_kses_attr_parse ( $element )

Parameters:
  • (string) element HTML element.
Returns:
  • (array|false) List of attributes found in the element. Returns false on failure.
Defined at:

Description

Finds all attributes of an HTML element.Does not modify input. May return "evil" output. Based on `wp_kses_split2()` and `wp_kses_attr()`.

Related Functions

wp_kses_hair_parse, wp_kses_attr, wp_kses_attr_check, wp_kses_data, wp_kses_one_attr

Top Google Results

User discussions

wpseek mobile