| Server IP : 77.68.64.21 / Your IP : 216.73.216.102 Web Server : Apache System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64 User : csh2668128 ( 2112425) PHP Version : 8.1.34 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/cwd/wp-content/themes/jannah/framework/plugins/ |
Upload File : |
<?php
/**
* Sensei Plugin
*
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly
if( ! class_exists( 'TIELABS_SENSEI' )){
class TIELABS_SENSEI{
/**
* __construct
*
* Class constructor where we will call our filter and action hooks.
*/
function __construct(){
// Disable if the Sensei plugin is not active
if( ! TIELABS_SENSEI_IS_ACTIVE ) return;
// Unhook the default Sensei wrappers
global $woothemes_sensei;
remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ), 10 );
remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 );
// Before main content warapper
add_action( 'sensei_before_main_content', array( $this, 'before_main_content' ), 10);
// After main content warapper
add_action( 'sensei_after_main_content', array( $this, 'after_main_content' ), 10);
}
/*
* Before main content warapper
*/
function before_main_content() {
echo '<div '. tie_content_column_attr( false ) .'>';
echo '<div class="container-wrapper">';
}
/*
* After main content warapper
*/
function after_main_content() {
echo '</div>';
echo '</div>';
get_sidebar();
}
}
// Instantiate the class
new TIELABS_SENSEI();
}