wp_kses_uri_attributes()
Helper function listing HTML attributes containing a URL.
This function returns a list of all HTML attributes that must contain a URL according to the HTML specification.
This list includes URI attributes both allowed and disallowed by KSES.
1 time — 0.000001 sec (speed of light) | 50000 times — 0.10 sec (speed of light) | PHP 7.2.5, WP 5.0.1
Hooks from the function
Return
String[]
. HTML attribute names whose value contains a URL.
Usage
wp_kses_uri_attributes();
Changelog
Since 5.0.1 | Introduced. |