Support

Home Forums Event Espresso Premium Multi line message text for sold out event

Multi line message text for sold out event

Posted: October 10, 2017 at 4:35 am

Viewing 1 reply thread


Robby Gunawan

October 10, 2017 at 4:35 am

Hi,
I just follow this
https://eventespresso.com/topic/changing-message-text-for-sold-out-event/
but for the multiline text is not working.
I want to display

Dear Sir or Madam, 
Pre registration is now closed. 
Please register directly at the event at the "Walk In" Registration counter.
Thank you.

The text still show 1 line text. already tried with adding “<br>” or “\r\n” still not working


Josh

  • Support Staff

October 10, 2017 at 7:38 am

Hi Robby,

The topic you linked to isn’t actually regarding the sold out event text. The sold out event text is actually

%1$s"%2$s" is currently sold out.%4$sPlease check back again later, as spots may become available.%3$s

There is an apply_filters() wrapped around this string, so you can instead do something like this:

add_filter( 
'FHEE__EE_Ticket_Selector__display_ticket_selector_submit__sold_out_msg',
function() {
return 'Your text here';
}
);
Viewing 1 reply thread

The support post ‘Multi line message text for sold out event’ 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