Created
January 26, 2019 20:22
-
-
Save radarin/e1fbce8e6aa1af6f32e2330c4bf648e5 to your computer and use it in GitHub Desktop.
Benutzerrolle löschen
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 | |
//check if role exists before removing it | |
if( get_role('entwurfsautor') ){ | |
remove_role( 'entwurfsautor' ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment