wp_kses_uri_attributes

Advertisement

Summery Summery

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

Syntax Syntax

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

Description Description

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

Parameters Parameters

$uri_attributes

HTML attribute names whose value contains a URL.

Source Source

File: wp-includes/kses.php

Advertisement

Changelog Changelog

Changelog
Version Description
5.0.1 Introduced.

Advertisement

Leave a Reply