Change proximity facet placeholder label

mgibbs189

{{gist file=”test.php” lang=”php”}}
<?php

// Add the code below into your theme’s functions.php file
function facetwp_translate_proximity_label( $translated_text ) {
if ( ‘Enter location’ == $translated_text ) {
return ‘Enter city’;
}
return $translated_text;
}
add_filter( ‘gettext’, ‘facetwp_translate_proximity_label’ );
{{/gist}}