HEX
Server: Apache
System: Linux outside 5.4.8_Algonet_ZeroMAC_0.9.4.8 #6 SMP Mon Feb 3 20:36:07 CET 2020 x86_64
User: server (1002)
PHP: 8.3.20
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,parse_ini_file,show_source
Upload Files
File: /home/muoapartman/www/wp-content/plugins/motopress-hotel-booking-lite/includes/advanced/api/api.php
<?php
/**
 * API endpoint handler.
 *
 * This handles API related functionality in Motopress Hotel Booking.
 * The main REST API in Motopress Hotel Booking which is built on top of the WP REST API.
 *
 * @package MPHB\Advanced\Api
 * @since 4.1.0
 */

namespace MPHB\Advanced\Api;

class Api {

	/**
	 * This is domain for the REST API and takes
	 * first-order position in endpoint URLs.
	 *
	 * @var string
	 */
	const VENDOR = 'mphb';

	/**
	 * This is the major version for the REST API and takes
	 * first-order position in endpoint URLs.
	 *
	 * @var string
	 */
	const VERSION = '1.0.0';

	/**
	 * REST API authentication class instance.
	 *
	 * @var ApiAuthentication
	 */
	public $authentication;

	public function init() {
		Server::instance()->init();
		$this->authentication = new ApiAuthentication();
	}

}