HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 5.4.45
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/g/r/a/grainesdfo/www/wp-content/themes/jupiterx/lib/api/lazy-load/functions.php
<?php
/**
 * Make lazy load plugins theme compatible.
 *
 * @package JupiterX\Framework\API\LazyLoad
 *
 * @since 1.1.0
 */

add_filter( 'rocket_lazyload_excluded_attributes', 'jupiterx_rocket_lazyload_excluded_attributes' );
/**
 * Exclude images that has the following attributes.
 *
 * @since 1.1.0
 *
 * @param array $attributes Current attributes.
 *
 * @return array Modified attributes.
 */
function jupiterx_rocket_lazyload_excluded_attributes( $attributes ) {
	// Elementor elements.
	$attributes[] = 'class="slick-slide-image';

	return $attributes;
}