403Webshell
Server IP : 185.208.173.17  /  Your IP : 87.236.161.98
Web Server : Microsoft-IIS/10.0
System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64
User : IUSR ( 0)
PHP Version : 7.4.13
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/panel.parsmega.com/wp-content/plugins/wp-rest-cache/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/panel.parsmega.com/wp-content/plugins/wp-rest-cache/includes/class-util.php
<?php
/**
 * Util functions for usage throughout the plugin.
 *
 * @link: https://www.acato.nl
 *
 * @package    WP_Rest_Cache_Plugin
 * @subpackage WP_Rest_Cache_Plugin/Includes
 */

namespace WP_Rest_Cache_Plugin\Includes;

/**
 * Util functions for usage throughout the plugin.
 *
 * This class define util functions that can be used throughout the plugin.
 *
 * @package    WP_Rest_Cache_Plugin
 * @subpackage WP_Rest_Cache_Plugin/Includes
 * @author     Richard Korthuis - Acato <richardkorthuis@acato.nl>
 */
class Util {

	/**
	 * Get the home url, without converting it to the current language.
	 *
	 * @return string The home url.
	 */
	public static function get_home_url() {
		add_filter( 'wpml_skip_convert_url_string', '__return_true' );
		$home_url = get_home_url();
		remove_filter( 'wpml_skip_convert_url_string', '__return_true' );
		return $home_url;
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit