wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_lazy_loading_enabled › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
› apply_filters( 'wp_lazy_loading_enabled', $default, $tag_name, $context )
Parametry: (3)
  • () default Default value.
    Wymagane: Tak
  • () tag_name The tag name.
    Wymagane: Tak
  • () context Additional context, like the current filter name or the function name from where this was called.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters whether to add the `loading` attribute to the specified tag in the specified context.





Źródło

return (bool) apply_filters( 'wp_lazy_loading_enabled', $default, $tag_name, $context );