Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- where 17 is the event categories ID
- */
- function em_wpfullcalendar_category_label1($taxonomy_args,$taxonomy){
- if ( $taxonomy->name == 'event-categories'){
- $taxonomy_args['exclude'] = '17';
- }
- return $taxonomy_args;
- }
- add_filter('wpmfc_calendar_taxonomy_args','em_wpfullcalendar_category_label1',1,2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement