Filters the list of attributes that are required to contain a URL.
Use this filter to add any data- attributes that are required to be validated as a URL.
$uri_attributesstring[]
$uri_attributes = apply_filters( 'wp_kses_uri_attributes', $uri_attributes );
| Version | Description |
|---|---|
| 5.0.1 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_kses_uri_attributes