Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Modify the capability required to view the SearchWP settings
function my_searchwp_settings_cap( $capability ) {
return 'edit_posts'; // Editors and up
add_filter( 'searchwp_settings_cap', 'my_searchwp_settings_cap' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment