Community

Home Forums Support How to exclude shortcode words Reply To: How to exclude shortcode words

#4325
Steve
Participant

Easy fix, It wasn’t a short code it was a str_replace in the code. Here was my fix, Jack can you add this to the next update hopefully in all the values to not get problems with meeting name and location that have the text words “city”, “zip”, “street”, ETC.

This is bmlt_meeting_list.php line 1273

$data = preg_replace('/\bcity\b/', $meeting_value['location_municipality'], $data);