- MainWP KB
- Extensions
- Code Snippets
-
Getting Started
-
General
-
Extensions
- Boilerplate
- Code Snippets
- Favorites
- Comments
- MainWP Buddy
- Bulk Settings Manager
- UpdraftPlus Backups
- Advanced Uptime Monitor
- Post Plus
- Vulnerability Checker
- WordPress SEO
- Wordfence
- Page Speed
- Custom Post Types
- Staging
- Team Control
- Clone
- File Uploader
- Maintenance
- Virusdie
- BackWPup
- White Label
- Time Capsule
- Pro Reports
- Article Uploader
- iThemes Security
- Rocket
- Post Dripper
- Sucuri
- WooCommerce Status
- WP Compress
- Piwik
- Google Analytics
- WooCommerce Shortcuts
- Custom Dashboard
- Time Tracker
- Cost Tracker Assistant
- Fathom
- URL Extractor
- SSL Monitor
- Jetpack Scan
- Jetpack Protect
- Database Updater
- Termageddon
- Pressable
- Atarim
- Cache Control
- Domain Monitor
- Lighthouse
- Dashboard Lock
- Post SMTP
-
Troubleshooting
-
FAQs
-
Affiliates
-
Sites
-
Insights
-
Cost Tracker
-
Miscellaneous
Remove a Code Snippet From a Broken Site
Code snippets can be removed directly from the Database. To do this,
- Login in to your cPanel, locate the phpMyAdmin, and open your site database
- Locate and open the wp_options table
- Locate and remove the option_name = mainwp_ext_snippets_enabled row, or option_name = mainwp_ext_code_snippets.
This will remove all code snippets that were applied using our Code Snippets extension.
If you use bad snippets that are saved to the WP-Config.php, the file will need to be edited manually!