Howdy Ryan!
I would love to help you with this.
If you want that function to return just the URL you could take advantage of the filter at the end of it:
function tribe_events_the_mini_calendar_next_link_url() {
$tribe_ecp = Tribe__Events__Main::instance();
$args = tribe_events_get_mini_calendar_args();
$url = $tribe_ecp->nextMonth( $args['eventDate'] );
return $url;
}
add_filter( 'tribe_events_the_mini_calendar_next_link', 'tribe_events_the_mini_calendar_next_link_url' );
Inserting that into your functions.php should make it return just the URL. Or, you can now simply call tribe_events_the_mini_calendar_next_link_url() directly to retrieve the URL.
Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook