Tweak Price Display (Appends Text) | Display Eventbrite Events
add_filter( ‘wfea_price_display’, function ( $price_display, $min, $max, $currency ) { return $price_display . ‘ (Discounts available at checkout)’; }, 10, 4 );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘wfea_price_display’, function ( $price_display, $min, $max, $currency ) { return $price_display . ‘ (Discounts available at checkout)’; }, 10, 4 );Continue reading
add_filter( ‘wfea_strip_eb_inline_styles’, ‘__return_false’ );Continue reading
add_filter(‘wfea_currency_symbols’, function ($currency_symbols) { $currency_symbols[‘CAD’] = ‘CAD$’; return $currency_symbols; } );Continue reading
add_filter( ‘wfea_age_restriction’, function ( $output, $age ) { if ( ‘all_ages’ === $age ) { $output = ‘All ages’; } return $output; }, 10, // filter priority 2 // number of args to filter );Continue reading
add_filter( ‘the_title’, function ( $title) { $post = get_post(); if ( ! property_exists( $post, ‘eb_url’ ) ) { return $title; } return ‘‘ . esc_attr( $post->organizer->name ) . ‘: ‘ . $title; }, 999, 1 );Continue reading
add_filter( ‘wfea_api_results’, function ( $events ) { // remove a specific organiser id $organiser_id = 123456789; $events = array_filter( $events, function ( $event ) use ( $organiser_id ) { return $event->organizer->id != $organiser_id; } ); return $events; }, 1000, 1…Continue reading
add_filter( ‘wfea_layout_slider_slide_speed’, function ( $speed ) { return 5000; // 5 seconds }, 10, 1 );Continue reading
add_filter(‘wfea_cal_locale’,’my_locale_func’); function my_locale_func($locale) { return ‘zh-tw’; }Continue reading
add_filter(‘wfea_get_tags’, ‘__return_true’);Continue reading
add_filter(‘wfea_single_event_slug’, function() { return ‘eb_event’; });Continue reading