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.9.15


View Parameters »

When debugging in SearchWP quite a bit of data is added to the debug log. With this hook you can tell SearchWP to log even more data if you’d like:

Note that debugging must be enabled for this filter to take effect

// Show more detail in SearchWP's debug log.
add_filter( 'searchwp_debug', '__return_true' );
add_filter( 'searchwp_debug_detailed', '__return_true' );
view raw functions.php hosted with ❤ by GitHub


Parameter Type Description
$detailed Boolean

Whether more detail is inclued in debug log entries

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