Support

Home Forums Event Espresso Premium How to change the New Event form default text

How to change the New Event form default text

Posted: November 4, 2016 at 8:00 am

Viewing 5 reply threads


Renee deVilliers

November 4, 2016 at 8:00 am

Hi,

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?

Thanks


Lorenzo Orlando Caum

  • Support Staff

November 4, 2016 at 11:14 am

Hello,

You can use the new default ticket option which is available through the advanced (gear icon) in the ticket editor.

Here is an example:

https://cl.ly/2Q090A2e223Y


Lorenzo


Renee deVilliers

November 5, 2016 at 11:15 am

I am using EE3.


Josh

  • Support Staff

November 7, 2016 at 9:19 am

Hi Renee,

We’re going to need to add a new filter hook to allow for changing that default text. I’ll let you know it’s been added once it’s been added to EE3.


Josh

  • Support Staff

November 7, 2016 at 11:38 am

We’ve added a new filter hook to EE3 and the next release of EE3 is available to download, you can download the release candidate here.

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.


Josh

  • Support Staff

November 14, 2016 at 9:13 am

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.

Event Espresso