Uname: Linux webm021.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
Software: Apache
PHP version: 5.4.45 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.91.62
Your Ip: 216.73.216.52
User: matthif (139342) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : class-avada.php
<?php
/**
 * Avada Theme.
 *
 * @package visual-portfolio
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Class Visual_Portfolio_3rd_Avada
 */
class Visual_Portfolio_3rd_Avada {
	/**
	 * Visual_Portfolio_3rd_Avada constructor.
	 */
	public function __construct() {
		if ( is_admin() ) {
			return;
		}

		$avada_options = get_option( 'fusion_options' );

		// Important - Avada folder is in uppercase, this is not a mistake.
		if ( 'Avada' !== get_template() || ! isset( $avada_options['lazy_load'] ) || 'avada' !== $avada_options['lazy_load'] ) {
			return;
		}

		// Disable our lazyload if Avada's lazyload used.
		add_filter( 'vpf_images_lazyload', '__return_false' );
		add_filter( 'vpf_enqueue_plugin_lazysizes', '__return_false' );
	}
}

new Visual_Portfolio_3rd_Avada();
© 2026 XylotrechusZ