Support

Home Forums Event Espresso Premium Customizing No Payment Required message

Customizing No Payment Required message

Posted: December 16, 2015 at 2:35 pm

Viewing 1 reply thread


Hideout Theatre

December 16, 2015 at 2:35 pm

Hi,

It looks like the No Payment Required message can be altered using the FHEE__registration_page_payment_options__no_payment_required_pg filter.

However, the apply_filter call doesn’t pass in any parameters, so if I want to customize the No Payment Required message but also have it include the event or ticket name, is that possible? It looks like perhaps it isn’t.

apply_filters(
		'FHEE__registration_page_payment_options__no_payment_required_pg',
						sprintf(
							__( '"%1$s" for "%2$s" is free, so no payment is required and no billing will occur.', 'event_espresso' ),
							$registration_for_free_event->ticket()->name(),
							$registration_for_free_event->event()->name()
						)
					);


Lorenzo Orlando Caum

  • Support Staff

December 16, 2015 at 4:30 pm

Hi, use a gettext filter instead and the placeholders should be switched out with actual information:

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


Lorenzo

Viewing 1 reply thread

The support post ‘Customizing No Payment Required message’ 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