public function getTaxonomiesInfo()
    {
        $taxonomies = $this->getTaxonomies();
        if (!Arr::iterable($taxonomies)) {
            return array();
        }

        $out = array();
        foreach ($taxonomies as $k => $taxonomy) {
            $taxonomy = $this->getTaxonomy($k);
            $key = $this->getTaxonomyKey($k, $taxonomy);
            $out[] = array(
                'key'       => $key,
                'post_type' => $this->getPostType(),
                'config'    => $taxonomy
            );
        }
        return $out;
    }
public function getTaxonomiesInfo()
    {
        $taxonomies = $this->getTaxonomies();
        if (!Arr::iterable($taxonomies)) {
            return array();
        }

        $out = array();
        foreach ($taxonomies as $k => $taxonomy) {
            $taxonomy = $this->getTaxonomy($k);
            $key = $this->getTaxonomyKey($k, $taxonomy);
            $out[] = array(
                'key'       => $key,
                'post_type' => $this->getPostType(),
                'config'    => $taxonomy
            );
        }
        return $out;
    }
public function getTaxonomiesInfo ( ) { $ taxonomies = $ this -> getTaxonomies ( ) ; if ( ! Arr :: iterable ( $ taxonomies ) ) { return array ( ) ; } $ out = array ( ) ; foreach ( $ taxonomies as $ k => $ taxonomy ) { $ taxonomy = $ this -> getTaxonomy ( $ k ) ; $ key = $ this -> getTaxonomyKey ( $ k , $ taxonomy ) ; $ out [ ] = array ( 'key' => $ key , 'post_type' => $ this -> getPostType ( ) , 'config' => $ taxonomy ) ; } return $ out ; }
Get the taxonomy info
@return array
Get the taxonomy info