public function registerTaxonomies()
    {

        if (!function_exists('register_taxonomy')) {
            return;
        }

        $this->taxonomies->rewind();
        while ($this->taxonomies->valid()) {

            $taxonomy = $this->taxonomies->current();
            register_taxonomy($taxonomy->getName(), $taxonomy->getSupportedPostTypes(), $taxonomy->getArgs());
            $this->taxonomies->next();

        }

    }