/** * @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); }
/** * @param object|int|string|null $term * @param array $args * */ function __construct($term, $args = array()) { $this->_term = WPLib::get_term($term, $args); parent::__construct($args); }