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


If you would like more control over who can see the SearchWP Dashboard Widget you can use this filter to modify the capability required to view it.

To change the capability required to view the SearchWP Dashboard Widget, add something like the following to your theme’s functions.php:

function my_searchwp_dashboard_widget_cap( $capability ) {
return 'edit_posts'; // Editors and up should be able to see the stats
add_filter( 'searchwp_dashboard_widget_cap', 'my_searchwp_dashboard_widget_cap' );
view raw gistfile1.php hosted with ❤ by GitHub
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