Note: You are viewing the documentation for Version 3View Version 4 Docs


View the installation guide, browse the Knowledge Base, find out about SearchWP's many hooks, get support

Available since: 2.4.5


View Parameters »

Note: Applies only to legacy settings screen as of SearchWP 2.9

SearchWP’s settings screen gathers a lot of information about your site when loading. If your settings screen is taking a long time to load (or even timing out) you can use this hook to skip the loading of this information as a method of avoiding that slowness.

To use the lightweight settings screen, add the following to your theme’s functions.php:

// NOTE: applies only to legacy settings screen as of SearchWP 2.9
add_filter( 'searchwp_lightweight_settings', '__return_true' );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$load Boolean

Whether to load the lightweight settings screen (default: false)

Fix keyword search on your site. No coding required!

Now you can utilize all of the content that's gone unrecognized by native WordPress keyword search instantly with SearchWP

Get SearchWP