Remove or disable link on WP FullCalendar

eventsmanager Jul 19th, 2014 441 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function my_fc_filter( $events ){
  2.   foreach($events as $key => $event){
  3.     unset($events[$key]['url']);
  4.   }
  5.   return $events;
  6. }
  7. add_filter('wpfc_events','my_fc_filter');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand