Uses
| Uses | Description | 
|---|---|
| wp-includes/kses.php: wp_kses_uri_attributes | Filters the list of attributes that are required to contain a URL. | 
| wp-includes/plugin.php: apply_filters() | Calls the callback functions that have been added to a filter hook. | 
Returns an array of HTML attribute names whose value contains 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.
(string[]) HTML attribute names whose value contains a URL.
File: wp-includes/kses.php
function wp_kses_uri_attributes() {
	$uri_attributes = array(
		'action',
		'archive',
		'background',
		'cite',
		'classid',
		'codebase',
		'data',
		'formaction',
		'href',
		'icon',
		'longdesc',
		'manifest',
		'poster',
		'profile',
		'src',
		'usemap',
		'xmlns',
	);
	/**
	 * 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.
	 */
	$uri_attributes = apply_filters( 'wp_kses_uri_attributes', $uri_attributes );
	return $uri_attributes;
}  | Version | Description | 
|---|---|
| 5.0.1 | Introduced. | 
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/functions/wp_kses_uri_attributes