I simply want to change the default Event Price text that says “General Admission” in the Form field when creating a new event. I repeatedly have to change this as we do not want it to say General Admission. I’d like to not have to retype this all the time. I tried adding a text string in the custom functions file, but that doesn’t help.
Please can you tell me how I can make this say something different, so it fills in automatically the text I want?
Once you have the release candidate installed, you can use this filter function to change the default text:
add_filter('filter_hook_espresso_multi_price_update_price_type', 'my_custom_ticket_text');
function my_custom_ticket_text(){
return 'Your default text here';
}
You can add the above to a functions plugin or into your WordPress theme’s functions.php file.
The release of EE3.1.37.10.p makes the above filter hook available in an official release update.
Viewing 5 reply threads
The support post ‘How to change the New Event form default 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.