Add space after currency in event-registration form

WordPress Event Management, Calendars & Registration Forums General Question Add space after currency in event-registration form

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 5 years, 5 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31843

    Hi, i use CHF as my currency and selected that the currency should be shown before the ticket price. Now the ticket price looks like this:
    CHF59,00.

    Now we really need to add a space after the CHF and before the 59,00 so that is looks like this: CHF 59,00.

    How can we do that?

    Thank you so much for your help and best regards.

    Pascal Bieri
    #31965

    You do use the eventorganiser_currencies filter:

    add_filter( 'eventorganiser_currencies', function( $currencies ) {
        $currencies['CHF']['symbol'] = 'CHF '; //symbol with space
        return $currencies;
    });
    
    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 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.