wp_kses_attr_parse

SummerySummery

Finds all attributes of an HTML element.

Syntax

wp_kses_attr_parse( string $element )

DescriptionDescription

Does not modify input. May return "evil" output.

Based on wp_kses_split2() and wp_kses_attr().

ParametersParameters

$element

(string) (Required) HTML element.

ReturnReturn

(array|bool) List of attributes found in the element. Returns false on failure.

SourceSource

File: wp-includes/kses.php


			

ChangelogChangelog

Changelog
Version Description
4.2.3 Introduced.
Scroll to Top