Advertisement
eventsmanager

exclude category in fullcalendar

Aug 22nd, 2013
875
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. /*
  2. where 17 is the event categories ID
  3. */
  4. function em_wpfullcalendar_category_label1($taxonomy_args,$taxonomy){
  5. if ( $taxonomy->name == 'event-categories'){
  6. $taxonomy_args['exclude'] = '17';
  7. }
  8. return $taxonomy_args;
  9. }
  10. add_filter('wpmfc_calendar_taxonomy_args','em_wpfullcalendar_category_label1',1,2);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement