//* Change the order of the label content for the my events page
function ee_custom_messaging_my_events_page( $translated, $original, $domain ) {
$strings = array(
'%s Registration, %s Event' => 'Registration %s, %s Event',
);
if ( isset( $strings[$original] ) ) {
$translations = get_translations_for_domain( $domain );
$translated = $translations->translate( $strings[$original] );
}
return $translated;
}
add_filter( 'gettext', 'ee_custom_messaging_my_events_page', 10, 3 );
-
-
Save anonymous/ed81729c0bee464df3d9127028722588 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment