wpseek.com
WordPress开发者和主题制作者的搜索引擎
wp_omit_loading_attr_threshold › WordPress过滤钩子
Since6.3.0
已弃用n/a
› apply_filters( 'wp_omit_loading_attr_threshold', 3 )
| 参数: |
|
| 定义在: |
|
| 文档: |
Filters the threshold for how many of the first content media elements to not lazy-load.
For these first content media elements, the `loading` attribute will be omitted. By default, this is the case for only the very first content media element.Related Functions: wp_omit_loading_attr_threshold, wp_get_loading_attr_default, wp_img_tag_add_loading_attr, wp_iframe_tag_add_loading_attr, wp_get_loading_optimization_attributes, wp_admin_bar_header