A WordPress-centric search engine for devs and theme authors



wp_kses_uri_attributes ›

Since5.0.1
Deprecatedn/a
apply_filters( 'wp_kses_uri_attributes', $uri_attributes )
Parameters:
  • (array) $uri_attributes HTML attributes requiring validation as 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 );