On this page
apply_filters( 'wp_kses_uri_attributes', string[] $uri_attributes )
Filters the list of attributes that are required to contain a URL.
Description
Use this filter to add any data- attributes that are required to be validated as a URL.
Parameters
$uri_attributesstring[]-
HTML attribute names whose value contains a URL.
Source
File: wp-includes/kses.php. View all references
$uri_attributes = apply_filters( 'wp_kses_uri_attributes', $uri_attributes );
Related
Used By
| Used By | Description |
|---|---|
| wp_kses_uri_attributes() wp-includes/kses.php | Returns an array of HTML attribute names whose value contains a URL. |
Changelog
| Version | Description |
|---|---|
| 5.0.1 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_kses_uri_attributes