04/27/2013 at 8:59 pm
#258042
Keymaster
@ Josh Taylor
That looks right. Here’s the code that I just tested and it worked for me:
function josh_gettext( $translated_text , $text , $domain ) {
if ( $domain == 'connections_form' && $translated_text == 'Department' ) {
$translated_text = 'Position';
}
return $translated_text;
}
add_filter( 'gettext', 'josh_gettext', 20, 3 );
We are talking about Form, right?
