add_filter('rank_math/frontend/schema',function($html){if (empty($html)){return $html}// Fixes the map query connector safely within the schema script block if (strpos($html,'google.com/maps') !==false){$html=str_replace('maps/search/?api=1&amp;query=','maps/search/?api=1&query=',$html)}return $html},99);