Ah, I finally solved this. Essentially I replaced the $venue_link variable with tribe_get_venue(). Below is my full function.
`
function my_tribe_get_venue_details( $post_id = null ) {
$post_id = Tribe__Main::post_id_helper( $post_id );
if ( ! $post_id ) {
return array();
}
$venue_details = array();
if ( $venue_link = tribe_get_venue_link( $post_id ) ) {
//$venue_details['linked_name'] = $venue_link;
$venue_details['linked_name'] = tribe_get_venue();
}
if ( $venue_address = tribe_get_full_address( $post_id ) ) {
$venue_details['address'] = $venue_address;
}
return apply_filters( 'tribe_get_venue_details', $venue_details, $post_id );
}
`
-
This reply was modified 8 years, 3 months ago by
inhouse. Reason: I don't know why this code isn't formatting completely. It's enclosed properly