Hello! Using Modern Tribe’s Event Calendar and the Events Tickets plugin. Trying to do RSVP-only with Price displayed (no e-commerce/tickets). Attendees pay at the door.
Per Event Cal’s forums, I installed their extension (https://theeventscalendar.com/extensions/show-cost-field/) so I could set a Price (RSVP = free otherwise).
That now makes it a $5 event say “Free - 5” . Obviously no one wants this, so there’s tons on the Support Forum re: removing the “Free -” before the price. Everyone had luck with the following PHP, as did I, until I customized the Event Single with Themer. The following PHP no longer works.
add_filter( 'tribe_get_cost', 'tribe_remove_free_text_from_cost_range', 10, 3 );
function tribe_remove_free_text_from_cost_range( $cost, $post_id, $with_currency_symbol ) {
return str_replace( 'Free', '', $cost );
}
Example here: http://staging.thehelpfulmarketer.com/calendar/lunch-n-learn-july2019/ Tried doing Connect, tried Insert and Event Cost from Themer Modules.
Any help is greatly appreciated!