Hi @fjr9, I know adding another plugin to your site isn’t always ideal. If you’re comfortable with adding PHP code to your functions.php file (or a custom plugin), this code should help you achieve the same thing as LocoTranslate without adding the performance overhead of another plugin:
add_filter( 'gettext', 'customize_ssa_button_text', 100, 3 );
function customize_ssa_button_text( $translated_text, $text, $domain ) {
if ( $domain !== 'simply-schedule-appointments' ) {
return $translated_text;
}
if ( $text === 'Cancel Appointment' ) {
return 'Oops! Cancel My Appointment';
}
return $translated_text;
}
Note: if you just want to hide any of those buttons entirely, you can do so with CSS and we have some good examples of that here:
https://simplyscheduleappointments.com/guides/hiding-buttons-using-css/#all-buttons-on-confirmation-screen
Please let us know if you have any other questions!
Thanks,
Nathan