apply_filters( 'wp_kses_uri_attributes', string[] $uri_attributes )

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

Description Description

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

Top ↑

Parameters Parameters


(string[]) HTML attribute names whose value contains a URL.

Top ↑

Source Source

File: wp-includes/kses.php

View on Trac

Top ↑

Changelog Changelog

Version Description
5.0.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.