<?php
//* Please do NOT include the opening php tag
//* Change the Submit Promotion code button’s text
add_filter( ‘FHEE__EED_Promotions___add_promotions_form_inputs__ee_promotion_code_submit__default’, ‘my_example_promotions_button_text’ );
function my_example_promotions_button_text( $text ) {
$text = ‘Redeem Coupon Code’;
return $text;
}
view rawpromotions_button_text.php hosted with ❤ by GitHub
You would add that code to either your child themes functions.php file, or preferably a Custom Functions Plugin you create for the site.
Viewing 1 reply thread
The support post ‘Promotion Code Submissions – Change the button text’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.