Created
October 31, 2018 16:04
-
-
Save jchristopher/64da4da0273273c7d9e2acb28602de71 to your computer and use it in GitHub Desktop.
Modify the managerial capability in OrganizeWP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'organizewp_manager_capability', function( $capability ) { | |
// Return the capability you'd like to use to grant access to OrganizeWP's settings. | |
return 'manage_options'; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment