Created
March 3, 2017 17:30
-
-
Save rafaehlers/3e1612df187b097aee2d9de5fdd535d1 to your computer and use it in GitHub Desktop.
GravityView Maps code to change the 'Map It' text using the gravityview_map_link filter
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
add_filter( 'gravityview_map_link', 'gv_change_map_it', 10, 5 ); | |
function gv_change_map_it( $link, $address, $url ){ | |
$link = str_replace('Map It','View on Google Maps',$link); | |
return $link; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment