WordPress at Your Fingertips
filter is not described

wp_kses_uri_attributes filter-hook . WP 5.0.1

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.


add_filter( 'wp_kses_uri_attributes', 'filter_function_name_8422' );
function filter_function_name_8422( $uri_attributes ){
	// filter...

	return $uri_attributes;
HTML attribute names whose value contains a URL.


Since 5.0.1 Introduced.

Where the hook is called

wp-includes/kses.php 1021
$uri_attributes = apply_filters( 'wp_kses_uri_attributes', $uri_attributes );

Where in WP core the hook is used WordPress

Usage not found.