Filter: cloudinary_lazy_load_bypass_classes

apply_filters( 'cloudinary_lazy_load_bypass_classes', $classes ) → {bool}

Filter the classes that bypass lazy loading.
Parameters:
Name Type Description
$classes array Classes that bypass the Lazy Load.
Since:
  • 3.0.9
Source:
Returns:
Type
bool
Example
<?php

// Extend bypass lazy load classes to include `skip-lazy`.
add_filter(
   'cloudinary_lazy_load_bypass_classes',
   function( $classes ) {
        $classes[] = 'skip-lazy';
        return $classes;
   }
);