403Webshell
Server IP : 77.39.210.126  /  Your IP : 216.73.216.203
Web Server : Apache
System : Linux v00l0v-vmpcnews.sphostserver.com 4.18.0-553.124.4.el8_10.x86_64 #1 SMP Fri May 15 04:14:14 EDT 2026 x86_64
User : artecasarepresti ( 1022)
PHP Version : 7.4.33
Disable Function : dl,passthru,proc_open,proc_close,proc_terminate,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/artecasarepresti/www/wp-content/plugins/cookie-notice/includes/modules/divi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/artecasarepresti/www/wp-content/plugins/cookie-notice/includes/modules/divi/divi.php
<?php
// exit if accessed directly
if ( ! defined( 'ABSPATH' ) )
	exit;

/**
 * Cookie Notice Modules Divi class.
 *
 * Compatibility since: 2.4.19
 *
 * @class Cookie_Notice_Modules_Divi
 */
class Cookie_Notice_Modules_Divi {

	/**
	 * Constructor.
	 *
	 * @return void
	 */
	public function __construct() {
		add_filter( 'cn_is_preview_mode', [ $this, 'is_preview_mode' ] );
	}

	/**
	 * Whether Divi builder is active.
	 *
	 * @return bool
	 */
	function is_preview_mode() {
		return is_et_pb_preview() || isset( $_GET[ 'et_fb' ] );
	}
}

new Cookie_Notice_Modules_Divi();

Youez - 2016 - github.com/yon3zu
LinuXploit