/** * @param stdClass $term The currenct taxonomy. */ public function __construct($term) { parent::__construct($term); $this->translate_meta_options(); }
/** * Setting the class properties * * @param stdClass|WP_Term $term The current taxonomy. * @param array $options The options. */ public function __construct($term, array $options = array()) { parent::__construct($term, $options); $this->networks = $this->get_social_networks(); }