wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
wp_iframe_tag_add_loading_attr › Hooks de Filtros WordPress
Desde5.7.0
Obsoleton/a
› apply_filters( 'wp_iframe_tag_add_loading_attr', $value, $iframe, $context )
| Parâmetros: (3) |
|
| Definido em: |
|
| 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.Funções relacionadas: 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