Skip to content

Instantly share code, notes, and snippets.

@GeoffEW
GeoffEW / post_category_support.php
Created May 10, 2017 04:26
add support for post categories to tribe events
<?php
/* Tribe, add support for post categories */
function change_event_type_args ( $args ) {
$args['taxonomies'][] = 'category';
return $args;
}
add_filter('tribe_events_register_event_type_args', 'change_event_type_args');