403Webshell
Server IP : 167.179.152.94  /  Your IP : 216.73.216.169
Web Server : Apache/2.4.66 (Debian)
System : Linux 6d8cbb3dc321 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64
User :  ( 1000)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/visual-portfolio/classes/3rd/themes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/visual-portfolio/classes/3rd/themes/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();

Youez - 2016 - github.com/yon3zu
LinuXploit