siteorigin_lazyload_compat

siteorigin_lazyload_compat

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

See hook in core

Displaying hooks found in version: siteorigin-panels.2.31.3

apply_filters('siteorigin_lazyload_compat') is found 1 times:

  • /inc/compatibility.php line 80
    		} 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';
    		}
    
    		// Compatibility with Jetpack.
    		if ( class_exists( 'Jetpack' ) ) {
    			require_once $this->compat_path . 'jetpack.php';