Created
September 20, 2021 13:55
-
-
Save lelandf/a9da46e2e5b2973e85db86dae601ec09 to your computer and use it in GitHub Desktop.
[TEC] filter tribe_get_venue_link example
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_link', function( $link, $venue_id ) { | |
$just_the_title = get_the_title( $venue_id ); | |
return $just_the_title; | |
}, 10, 2 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment