Code formatting
Add a comment
Merge branch 'develop' of github.com:moderntribe/the-events-calendar into develop
Don't show next events link when there are none
Updates #26972, #28709

Add tribe_has_next_event() function, remove unused tribe_is_previous_event_past() function, fix issue with previous link going into the past too soon
Only set paged to the $_REQUEST tribe_paged var on the main events query
Updates #Don't show next events link when there are none
Updates #26972, #28709
Unset the $hash['end_date'] so ajax requests aren't reset to page 1 on the second request