WordPress at a glance
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_4064' );
function filter_function_name_4064( $uri_attributes ){
	// filter...

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

Список изменений

С версии 5.0.1 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.