Hi, I added the following code to the top of my functions.php file to change the wording from ‘tickets left’ to ‘places left’.
add_filter( ‘tribe_tickets_buy_button’, ‘changes_button_text’, 11, 2 );
function changes_button_text( $html ) {
$html = str_replace("tickets left", "places left", $html);
return $html;
}
However, it does not work across all event listings. Please see link below. As you navigate through the events you will notice that some say ‘places left’ and others say ‘tickets left’.
https://webnprosper.staging.wpengine.com/events/photo
https://webnprosper.staging.wpengine.com/events/list
(careful if navigating around as some of the top menu links will take you to the live site)
Can you advise why this happening?
Cheers