wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
wp_iframe_tag_add_loading_attr › Les Filtres WordPress
Depuis5.7.0
Dépréciéen/a
› apply_filters( 'wp_iframe_tag_add_loading_attr', $value, $iframe, $context )
| Paramètres: (3) |
|
| Défini(e) dans: |
|
| 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.Fonctions en relation: 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