Description
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.
Occurrences
Filename | Line Number |
---|---|
wp-includes/kses.php | 1047 |
Parameters
Type | Name | Description |
---|---|---|
string[] | $uri_attributes | HTML attribute names whose value contains a URL. |
PHP Doc
/**
* 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.
*
* @since 5.0.1
*
* @param string[] $uri_attributes HTML attribute names whose value contains a URL.
*/