403Webshell
Server IP : 172.67.158.161  /  Your IP : 18.226.93.104
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/integrations/sensei/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/bnnagency.com/wp-content/themes/flatsome/inc/integrations/sensei/sensei.php
<?php
/**
 * Sensei plugin integration
 */

/** @var $woothemes_sensei Sensei_Main */
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 );
remove_action( 'pre_get_posts', array( $woothemes_sensei->course, 'allow_course_archive_on_front_page' ), 9 );

add_action( 'sensei_before_main_content', 'fl_sensei_theme_wrapper_start', 10 );
add_action( 'sensei_after_main_content', 'fl_sensei_theme_wrapper_end', 10 );

/**
 * Theme wrapper start for sensei.
 */
function fl_sensei_theme_wrapper_start() {
	echo '<div class="sensei-page page-wrapper"><div class="row"><div class="large-12 col">';
}

/**
 * Theme wrapper end for sensei.
 */
function fl_sensei_theme_wrapper_end() {
	echo '</div></div></div>';
}

Youez - 2016 - github.com/yon3zu
LinuXploit