src/FlexPress/Components/Taxonomy/Helper.php
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();

        }

    }
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();

        }

    }
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 ( ) ; } }
Registers all the taxonomies added
Registers all the taxonomies added