403Webshell
Server IP : 77.68.64.21  /  Your IP : 216.73.217.105
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/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/themes/jannah/framework/classes/class-tielabs-styles-footer.php
<?php

defined( 'ABSPATH' ) || exit; // Exit if accessed directly


if( ! class_exists( 'TIELABS_STYLES_FOOTER' )){

	class TIELABS_STYLES_FOOTER{

		public $stored_styles = '';

		/**
		 * __construct
		 *
		 * Class constructor where we will call our filter and action hooks.
		 */
		function __construct(){

			# BWP Minify Plugin is requried and the theme's Styles to footer is enabled
			if ( ! TIELABS_BWPMINIFY_IS_ACTIVE || ! defined( 'STYLES_TO_FOOTER' ) ) return;

			# Check if the minfying CSS option is active
			$bwp_options = get_option( 'bwp_minify_general' );
			if( empty( $bwp_options[ 'enable_min_css'] ) || $bwp_options[ 'enable_min_css'] != 'yes' ) return;

			# Run the Actions
			add_action( 'bwp_minify_before_header_styles',  array( $this, 'before_header_styles' ) );
			add_action( 'bwp_minify_printed_header_styles', array( $this, 'after_header_styles'  ) );

			add_action( 'wp_footer', array( $this, 'print_styles' ), 6 );
			add_action( 'wp_head',   array( $this, 'hide_body' ) );
		}


		/**
		 * hide_body
		 */
		function hide_body(){
			echo '<style id="hide-the-body" type="text/css">body{visibility: hidden;}</style>';
		}


		/**
		 * before_header_styles
		 *
		 * Buffering the styles
		 */
		function before_header_styles(){
			ob_start();
		}


		/**
		 * after_header_styles
		 *
		 * Get the styles
		 */
		function after_header_styles(){
			$this->stored_styles = ob_get_clean();
		}


		/**
		 * print_styles
		 *
		 * Print the styles
		 */
		function print_styles(){
			echo ( $this->stored_styles );
		}

	}

	# Instantiate the class
	new TIELABS_STYLES_FOOTER();
}

Youez - 2016 - github.com/yon3zu
LinuXploit