How to make terms and taxonomies not global on WordPress.com

By default WordPress.com uses a little known (and now off by default) feature of WordPress Multisite called Globalized terms.  This means that terms are shared across sites. To remove your taxonomy from the global taxonomy array you can use the wpcom_is_globalized_taxonomy filter, e.g.

add_action( 'wpcom_is_globalized_taxonomy', function( $is_globalized, $taxonomy_name ) {
    if ( 'my_taxonomy' === $taxonomy_name )
        $is_globalized = false;
    return $is_globalized;
}, 10, 2 );

To disable Globalized terms feature for all taxonomies at once, use our helper function in theme’s functions.php:

wpcom_vip_disable_global_terms();

Ready to get started?

Tell us about your needs

Let us lead the way. We’ll help you select a top tier development partner. We’ll train your developers, operations, infrastructure, and editorial teams. We’ll coarchitect your deployment processes. We will provide live support for peak events. We’ll help your people avoid dark alleys and blind corners, and reduce wasted cycles.