Get all terms inside a specific taxonomy in a multisite
No way to do that in a “word press” way… function multisite_profession_select(){ switch_to_blog(1); $taxonomies = array(‘rsitecat’); $check_later = array(); global $wp_taxonomies; foreach($taxonomies as $taxonomy){ if (isset($wp_taxonomies[$taxonomy])){ $check_later[$taxonomy] = false; } else { $wp_taxonomies[$taxonomy] = true; $check_later[$taxonomy] = true; } } $args = array(‘hide_empty’ => false); $terms = get_terms($taxonomies, $args ); echo ‘<pre>’; print_r($terms); echo ‘</pre>’; … Read more