Disable WPMUDEV Events+ Event Category and Tag from menu

Nov, 23, 2016 by and categorized in

Earlier today I posted how to enable WordPress Post_tags and categories into the WordPress Events+ plugin using your functions.php

This solution goes hand in hand with adding native tags and categories to Events+ and can be found here >

I just finished hiding the custom tags and event categories from the admin menu (this is not deleting them, but hiding them).
This does not change how the WordPress Events+ plugin works, other than making the UI a little more simple so there is no confusion with “which tags to use or which categories to use”

Add this to your functions.php

add_action( 'init', 'unregister_cats' );
function unregister_cats() {
    unregister_taxonomy_for_object_type( 'eab_events_category', 'incsub_event' );
}
			add_action( 'init', 'unregister_tags' );
function unregister_tags() {
    unregister_taxonomy_for_object_type( 'tags', 'incsub_event' );
}

I hope this helps people looking to streamline their WordPress events Admin menu while using the same categories and tags that normal WordPress posts use.

Services we provide

Graphic Design

The art or skill of combining text and pictures in advertisements, magazines, or books. We take pride in being a Detroit Graphic Designer

Search Engine Optimization

Using meaningful content is a very important part of ethical SEO methods. Users (and Google), demand relevant information from their searches.

WordPress Development

1 in 4 websites are designed in WordPress. We use Foundation 6 or Bootstrap 4 frameworks and only develop responsive websites