Support

Home Forums Event Espresso Premium Changing "Important information regarding your payment" wording

Changing "Important information regarding your payment" wording

Posted: May 26, 2020 at 8:48 am


Porter

May 26, 2020 at 8:48 am

We’d like to remove word “Important” from the above heading. I can see where to change the description on each payment type but not where to change this wording. Is it possible?

https://eventespresso.com/topic/edit-checkout-text-important-information-regarding-your-payment/


Tony

  • Support Staff

May 26, 2020 at 3:22 pm

Hi there,

The quickest method to change that text is to use a custom function like this one:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#custom-function

With that function, you use the $strings array to ‘translate’ one string to another (I know your not technically translating here, but that’s what the function is intended for). So the format is like this:

$strings = array(
    '{original string}' => '{translated string}'
);

So in your example, you could have:

$strings = array(
    'Important information regarding your payment' => 'Information regarding your payment'
);

To change that string to just ‘Information regarding your payment’.

Add that snippet to a custom functions plugin on your site if you don’t already have one, we have documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

The support post ‘Changing "Important information regarding your payment" wording’ 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