| Server IP : 119.59.104.26 / Your IP : 216.73.217.55 Web Server : Apache/2 System : Linux ns69.hostinglotus.net 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64 User : com12370 ( 1517) PHP Version : 7.2.34 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/com12370/public_html/wp-content/themes/MIXThemes/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();
}