daily pastebin goal
53%
SHARE
TWEET

Schedule details: use WP date format

BakerMan Jan 20th, 2014 535 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. add_filter('tribe_events_event_schedule_details_formatting', 'uniform_date_format');
  2.  
  3. function uniform_date_format($settings) {
  4.         $settings['same_year_format'] = get_option( 'date_format' );
  5.         return $settings;
  6. }
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
 
Top