403Webshell
Server IP : 65.108.144.40  /  Your IP : 216.73.217.165
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : dev ( 1000)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/pia/wp-content/plugins/nitropack/classes/Integration/Plugin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/pia/wp-content/plugins/nitropack/classes/Integration/Plugin/WPBakeryNP.php
<?php

namespace NitroPack\Integration\Plugin;

class WPBakeryNP {

	const STAGE = "late";
	public static function isActive() {
		global $vc_manager;

		$activePlugins = apply_filters('active_plugins', get_option('active_plugins'));
		if ($vc_manager || in_array( 'js_composer/js_composer.php', $activePlugins )) {
			return true;
		}
		return false;
	}

	public function init($stage) {
		if ( ! WPBakeryNP::isActive() ) {
			return;
		}

		add_action('update_option_wpb_js_custom_css', array ($this, 'purge_cache_on_custom_css_update') );
	}

	public function purge_cache_on_custom_css_update() {
		nitropack_sdk_purge(NULL, NULL, 'WPBakery Custom CSS Updated');
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit