Change Small Calendar Starting Month/Year

Feb 22nd, 2013
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);
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add to your ad blocker whitelist or disable your adblocking software.