Change sold-out notice

This topic contains 2 replies, has 2 voices, and was last updated by  Staatsbibliothek zu Berlin 4 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36728

    Hello,

    is there a way to change the notice for when an event has sold-out? We are not charging anything for tickets, so the notice is a bit misleading, at least in German.

    Best regards

    Staatsbibliothek zu Berlin
    #36754

    The ‘This event has sold out message’ is passed through the eventorganiser_booking_tickets_sold_out filter, so you can change it as follows:

    add_filter( 'eventorganiser_booking_tickets_sold_out', function($message){
        return 'alternative sold out message';
    });
    
    Stephen Harris
    #36757

    Works perfect, thank you.

    Staatsbibliothek zu Berlin
Viewing 3 posts - 1 through 3 (of 3 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.