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/

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 month, 2 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!