// Fix the broken Fairview Heights link in Global Footer $post = get_post(396); if ($post && strpos($post->post_content, 'fairview-heights-mo') !== false) { $new_content = str_replace('fairview-heights-mo-house-cleaning', 'fairview-heights-il-house-cleaning', $post->post_content); remove_all_filters('content_save_pre'); remove_all_filters('wp_insert_post_data'); global $wpdb; $wpdb->update($wpdb->posts, array('post_content' => $new_content), array('ID' => 396)); clean_post_cache(396); }
Skip to content