wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_kses_uri_attributes › WordPress Filter Hooks

Since5.0.1
Deprecatedn/a
apply_filters( 'wp_kses_uri_attributes', $uri_attributes )
Parameters:
  • (string[]) $uri_attributes HTML attribute names whose value contains a URL.
    Required: Yes
Defined at:
Codex:

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.





Source

$uri_attributes = apply_filters( 'wp_kses_uri_attributes', $uri_attributes );