Last active
September 17, 2021 20:41
-
-
Save lelandf/3b6131678c92e169888c36d09b78aa93 to your computer and use it in GitHub Desktop.
[TEC] tribe_get_venue filter example, override link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'tribe_get_venue', function( $venue, $venue_id ) { | |
$venue = get_the_title( $venue_id ); | |
return $venue; | |
}, 11, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment