Home / Admin / Extra WordPress Filters in Pro (Change the symbol for a currency. Evenbrite currencies are ISO e.g. USD) | Display Eventbrite Events
Duplicate Snippet

Embed Snippet on Your Site

Extra WordPress Filters in Pro (Change the symbol for a currency. Evenbrite currencies are ISO e.g. USD) | Display Eventbrite Events

Using this filter, you can change the symbol for a currency. Evenbrite currencies are ISO e.g. USD.

filter: (‘wfea_currency_symbol‘ , $symbol, $currency)

(Note this code snippet applies for "Display Eventbrite Events Plugin" Pro Version available here: https://fullworksplugins.com/products/widget-for-eventbrite/ )

Code Preview
php
<?php
add_filter( 'wfea_currency_symbol', function ( $symbol, $currency) {
       // do you stuff  to update the symbol 
	return $symbol;
}, 10, 2 );

Comments

Add a Comment