Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Allow Editors to manage SearchWP's settings
<?php
// Allow Editors to manage SearchWP's settings.
add_filter( 'searchwp\settings\capability', function( $capability ) {
return 'edit_others_posts';
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment