Home / Admin / Extra WordPress Filters in Pro (Do something with the ticket availability display) | Display Eventbrite Events
Duplicate Snippet

Embed Snippet on Your Site

Extra WordPress Filters in Pro (Do something with the ticket availability display) | Display Eventbrite Events

Using this filter, you can change the ticket availability display.

filter: (‘wfea_availability_display‘ , $msg, $total_sold, $event_capacity)

(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_availability_display', function ( $msg, $total_sold, $event_capacity) {
       // do your stuff  change $msg 
	return $msg;
}, 10, 3 );

Comments

Add a Comment