Lego2012
12/13/2016 - 3:50 PM

Add Category support to CPT

Add Category support to CPT

<?php
//* Do NOT include the opening php tag shown above. Copy the code shown below.

add_action( 'init', 'sk_add_category_events' );
function sk_add_category_events() {
   register_taxonomy_for_object_type( 'category', 'e4gf_events' );
}