apply_filters( 'wp_kses_uri_attributes', array $uri_attributes )

Filters the list of attributes that are required to contain a URL.


Description

Use this filter to add any data- attributes that are required to be validated as a URL.


Parameters

$uri_attributes

(array) HTML attributes requiring validation as a URL.


Source

File: wp-includes/kses.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.9 Introduced.