do_rocket_lazyload

do_rocket_lazyload

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: siteorigin-panels.2.31.3

apply_filters('do_rocket_lazyload') is found 1 times:

  • /inc/compatibility.php line 77
    			$lazy_load_settings = get_option( 'rocket_lazyload_options' );
    			$load_lazy_load_compat = ! empty( $lazy_load_settings ) && ! empty( $lazy_load_settings['images'] );
    		// WP Rocket.
    		} elseif ( function_exists( 'get_rocket_option' ) && ! defined( 'DONOTROCKETOPTIMIZE' ) ) {
    			$load_lazy_load_compat = get_rocket_option( 'lazyload' ) && apply_filters( 'do_rocket_lazyload', true );
    		}
    
    		if ( apply_filters( 'siteorigin_lazyload_compat', $load_lazy_load_compat ) ) {
    			require_once $this->compat_path . 'lazy-load-backgrounds.php';
    		}