Created
August 24, 2017 00:05
-
-
Save nefeline/2ba493757a153d4a814e2a2ebddb5c36 to your computer and use it in GitHub Desktop.
add support for post categories to tribe events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Tribe, add support for post categories */ | |
add_filter('tribe_events_register_event_type_args', 'change_event_type_args'); | |
function change_event_type_args ( $args ) { | |
$args['taxonomies'][] = 'category'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment