wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_kses_uri_attributes › WordPress过滤钩子

Since5.0.1
已弃用n/a
apply_filters( 'wp_kses_uri_attributes', $uri_attributes )
参数:
  • (string[]) $uri_attributes HTML attribute names whose value contains a URL.
    Required: Yes
定义在:
文档:

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.





源码

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