Advertisement
eventsmanager

Change Small Calendar Starting Month/Year

Feb 22nd, 2013
158
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2. change events calendar widget onload date
  3. */
  4. function em_mod_widget_calendar($instance){
  5. $instance['month'] = '03';
  6. $instance['year'] = '2013';
  7. return $instance;
  8. }
  9. add_filter('em_widget_calendar_get_args','em_mod_widget_calendar',10,1);
Advertisement
RAW Paste Data Copied
Advertisement