403Webshell
Server IP : 213.136.93.164  /  Your IP : 216.73.216.111
Web Server : Apache
System : Linux m14200.contabo.net 5.14.0-611.54.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Wed May 6 18:03:03 EDT 2026 x86_64
User : ki692510 ( 1047)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/ki692510/www/wp-content/plugins/tlp-team/app/Controllers/Frontend/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/ki692510/www/wp-content/plugins/tlp-team/app/Controllers/Frontend//CustomCSS.php
<?php
/**
 * Frontend Custom CSS Class.
 *
 * @package RT_Team
 */

namespace RT\Team\Controllers\Frontend;

use RT\Team\Helpers\Fns;

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'This script cannot be accessed directly.' );
}

/**
 * Frontend Custom CSS Class.
 */
class CustomCSS {
	use \RT\Team\Traits\SingletonTrait;

	/**
	 * Class Init.
	 *
	 * @return void
	 */
	protected function init() {
		add_action( 'wp_head', [ $this, 'custom_css' ] );
	}

	/**
	 * Custom CSS.
	 *
	 * @return void
	 */
	public function custom_css() {
		$settings = get_option( rttlp_team()->options['settings'] );
		$output   = null;

		if ( ! empty( $settings['custom_css'] ) ) {
			$output .= "<style>{$settings['custom_css']}</style>";
		}

		Fns::print_html( $output, true );
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit