/**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.0
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Family', 'wp-term-families'), 'plural' => esc_html__('Families', 'wp-term-families'), 'description' => esc_html__('The family is used to group terms together using another taxonomy.', 'wp-term-families'));
     // Call the parent and pass the file
     parent::__construct($file);
 }
 /**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.2
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Visibility', 'wp-term-color'), 'plural' => esc_html__('Visibilities', 'wp-term-color'), 'description' => esc_html__('The visibiilty is used to restrict specific terms to specific users.', 'wp-term-color'));
     // Call the parent and pass the file
     parent::__construct($file);
 }
 /**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.2
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Author', 'wp-term-authors'), 'plural' => esc_html__('Authors', 'wp-term-authors'), 'description' => esc_html__('The author is the user that created this term.', 'wp-term-authors'));
     // Call the parent and pass the file
     parent::__construct($file);
 }
 /**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.0
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Icon', 'wp-term-color'), 'plural' => esc_html__('Icons', 'wp-term-color'), 'description' => esc_html__('Assign terms a custom icon to visually separate them from each-other.', 'wp-term-color'));
     // Call the parent and pass the file
     parent::__construct($file);
 }
 /**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.0
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Color', 'wp-term-colors'), 'plural' => esc_html__('Colors', 'wp-term-colors'), 'description' => esc_html__('Assign a custom color to visually separate each item.', 'wp-term-colors'));
     // Call the parent and pass the file
     parent::__construct($file);
 }
 /**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.0
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Image', 'wp-term-images'), 'plural' => esc_html__('Images', 'wp-term-images'), 'description' => esc_html__('Assign terms a custom image to visually separate them from each-other.', 'wp-term-images'));
     // Translations
     load_plugin_textdomain('wp-term-images');
     // Call the parent and pass the file
     parent::__construct($file);
 }
 /**
  * Hook into queries, admin screens, and more!
  *
  * @since 0.1.0
  */
 public function __construct($file = '')
 {
     // Setup the labels
     $this->labels = array('singular' => esc_html__('Lock', 'wp-term-locks'), 'plural' => esc_html__('Locks', 'wp-term-locks'), 'description' => esc_html__('Lock this term from being edited or deleted.', 'wp-term-locks'));
     // Call the parent and pass the file
     parent::__construct($file);
     // Maybe manipulate row actions
     foreach ($this->taxonomies as $tax) {
         add_filter("{$tax}_row_actions", array($this, 'row_actions'), 10, 2);
     }
     // Terrible hacks
     add_filter('map_meta_cap', array($this, 'map_meta_cap'), 99, 4);
     add_filter('term_name', array($this, 'term_name'), 99, 2);
 }