Support

Home Forums Event Espresso Premium Payment Type Name

Payment Type Name

Posted: March 3, 2014 at 7:10 am


Kregg Kish

March 3, 2014 at 7:10 am

Hello

I was wondering on the payment confirmation page if you are able to change the name that shows in the Payment Type? Example it now shows Strip but would like it to say Credit Card?

see screen here: http://awesomescreenshot.com/0052fmdm79

Thanks


Josh

  • Support Staff

March 3, 2014 at 9:05 am

Hi Kregg,

Yes this is possible. One way is to use a little function that filter’s the content of the web page. Here’s something you can add to your custom file add-on’s custom_functions.php file or in a custom snippet plugin that will change the Stripe text to be Credit Card.

add_filter( 'the_content', 'my_change_stripe', 11 );
function my_change_stripe( $content ) {

	$content = str_replace( '<td>Stripe</td>', '<td>Credit Card</td>', $content);

	return $content;

}

The support post ‘Payment Type Name’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 5 years, 5 months ago ago

Topic Tags

Notifications

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