| Server IP : 65.108.144.40 / Your IP : 216.73.217.165 Web Server : Apache/2.4.52 (Ubuntu) System : Linux ubuntu-8gb-hel1-1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64 User : dev ( 1000) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/successkpi/wp-content/themes/successkpi/inc/ |
Upload File : |
<?php
/**
* Taxonomy Registrations
* Follows OOP architecture.
*/
require_once __DIR__ . '/classes/CustomTaxonomy.php';
class ResourceCategory extends CustomTaxonomy
{
public static $taxonomy = 'resource_category';
public static $nameSingular = 'Resource Category';
public static $namePlural = 'Resource Categories';
public static $postTypes = array('post', 'webinars', 'videos', 'guides', 'success-stories', 'reports');
public static $hierarchical = true;
}
new ResourceCategory();
class Features extends CustomTaxonomy
{
public static $taxonomy = 'features';
public static $nameSingular = 'Feature';
public static $namePlural = 'Features';
public static $postTypes = array('plans');
public static $hierarchical = true;
}
new Features();
class UserType extends CustomTaxonomy
{
public static $taxonomy = 'user_type';
public static $nameSingular = 'User Type';
public static $namePlural = 'User Types';
public static $postTypes = array('teams');
public static $hierarchical = true;
}
new UserType();
class EventTypes extends CustomTaxonomy
{
public static $taxonomy = 'event_types';
public static $nameSingular = 'Event Type';
public static $namePlural = 'Event Types';
public static $postTypes = array('events');
public static $hierarchical = true;
}
new EventTypes();
class PressTypes extends CustomTaxonomy
{
public static $taxonomy = 'press_types';
public static $nameSingular = 'Press Type';
public static $namePlural = 'Press Types';
public static $postTypes = array('press');
public static $hierarchical = true;
}
new PressTypes();