AnonSec Shell
Server IP : 68.65.120.251  /  Your IP : 18.191.150.27   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux server105.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : travtpib ( 6521)
PHP Version : 7.4.33
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/includes/rest-api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/softaculous/sitepad/editor/site-data/plugins/kkart-pro/includes/rest-api//Package.php
<?php
/**
 * Deprecated notice: This class is deprecated as of version 4.5.0. Kkart API is now part of core and not packaged seperately.
 *
 * Returns information about the package and handles init.
 *
 * @package Kkart\RestApi
 */

namespace Automattic\Kkart\RestApi;

defined( 'ABSPATH' ) || exit;

/**
 * Main package class.
 *
 * @deprecated Use \Automattic\Kkart\RestApi\Server directly.
 */
class Package {

	/**
	 * Version.
	 *
	 * @deprecated since 4.5.0. This tracks Kkart version now.
	 * @var string
	 */
	const VERSION = KKART_VERSION;

	/**
	 * Init the package - load the REST API Server class.
	 *
	 * @deprecated since 4.5.0. Directly call Automattic\Kkart\RestApi\Server::instance()->init()
	 */
	public static function init() {
		kkart_deprecated_function( 'Automattic\Kkart\RestApi\Server::instance()->init()', '4.5.0' );
		\Automattic\Kkart\RestApi\Server::instance()->init();
	}

	/**
	 * Return the version of the package.
	 *
	 * @deprecated since 4.5.0. This tracks Kkart version now.
	 * @return string
	 */
	public static function get_version() {
		kkart_deprecated_function( 'KKART()->version', '4.5.0' );
		return KKART()->version;
	}

	/**
	 * Return the path to the package.
	 *
	 * @deprecated since 4.5.0. Directly call Automattic\Kkart\RestApi\Server::get_path()
	 * @return string
	 */
	public static function get_path() {
		kkart_deprecated_function( 'Automattic\Kkart\RestApi\Server::get_path()', '4.5.0' );
		return \Automattic\Kkart\RestApi\Server::get_path();
	}
}

Anon7 - 2022
AnonSec Team