Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( self::$current_month == $month && self::$current_year == $year) {
- // Past, Present, Future class
- if ( self::$today == $day ) {
- $ppf .= ' tribe-events-present';
- } else if ( self::$today > $day -4 ) {
- $ppf .= ' tribe-events-past';
- } else if ( self::$today < $day + 4 ) {
- $ppf .= ' tribe-events-future';
- }
Advertisement
Add Comment
Please, Sign In to add comment