Last active
June 10, 2021 13:42
-
-
Save jonbrockett/69b6c7563fcf06fb802ad28f65e3264d to your computer and use it in GitHub Desktop.
Remove User Role Editor Plugin's 'Other Roles' Field
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 | |
/** Remove User Role Editor's other roles field */ | |
add_filter( 'ure_show_additional_capabilities_section', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment