/** * Used in the month loop. * Gets the current day in the month loop * * Returned array contains the following elements if the day is in the currently displaying month: * 'daynum' => Day of the month (int) * 'date' => Complete date (Y-m-d) * 'events' => Object containing events on this day (WP_Query) * 'total_events' => Number of events on this day (int) * 'view_more' => Link to the single day (URL) * * If the day is part of the previous or next month, the array simply contains: * 'date' => 'previous' or 'next' * * @return array * @author Jessica Yazbek * @see Tribe_Events_Month_Template::get_current_day() * @since 3.0 **/ function tribe_events_get_current_month_day() { return apply_filters('tribe_events_get_current_month_day', Tribe_Events_Month_Template::get_current_day()); }