Available since: 2.0
By default, SearchWP will not clean up after itself (e.g. purge the index and remove all traces of itself) when deactivated or deleted in the WordPress Admin unless you enable the Nuke on Delete option in the Advanced settings.
If you are building a lot of sites and find it cumbersome to tick that checkbox every time you set up a new site, you can force Nuke on Delete by adding the following to your theme’s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|add_filter( 'searchwp_nuke_on_delete', '__return_true' );|