/**
  * @param object|int|string|null $term
  * @param array $args
  *
  */
 function __construct($term, $args = array())
 {
     $this->_term = WPLib::get_term($term, static::item_taxonomy());
     parent::__construct($args);
 }
Example #2
0
 /**
  * @param object|int|string|null $term
  * @param array $args
  *
  */
 function __construct($term, $args = array())
 {
     $this->_term = WPLib::get_term($term, $args);
     parent::__construct($args);
 }