Modify the “Start Date” text

mgibbs189

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

add_filter( ‘gettext’, function( $translated_text, $text, $domain ) {
if ( ‘fwp-front’ == $domain && ‘Start Date’ == $translated_text ) {
$translated_text = ‘Date’;
}
}
return $translated_text;
}, 10, 3 );

{{/gist}}