wpseek.com
A WordPress-centric search engine for devs and theme authors
wp_iframe_tag_add_loading_attr › WordPress Filter Hooks
Since5.7.0
Deprecatedn/a
› apply_filters( 'wp_iframe_tag_add_loading_attr', $value, $iframe, $context )
| Parameters: (3) |
|
| Defined at: |
|
| Codex: |
Filters the `loading` attribute value to add to an iframe. Default 'lazy'.
Returning `false` or an empty string will not add the attribute. Returning `true` will add the default value.Related Functions: wp_iframe_tag_add_loading_attr, wp_img_tag_add_loading_attr, wp_img_tag_add_decoding_attr, wp_img_tag_add_loading_optimization_attrs, wp_img_tag_add_width_and_height_attr, wp_img_tag_add_srcset_and_sizes_attr