wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_lazy_loading_enabled › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'wp_lazy_loading_enabled', $default, $tag_name, $context )
Parameter: (3)
  • () default Default value.
    Erforderlich: Ja
  • () tag_name The tag name.
    Erforderlich: Ja
  • () context Additional context, like the current filter name or the function name from where this was called.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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