wp_lazy_loading_enabled( ... )

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

Parameters:
  • $tag_name string
  • $context string