Created
January 26, 2019 20:21
-
-
Save radarin/90de9e215ce8a77a613b3a6d9846848c to your computer and use it in GitHub Desktop.
Neue Benutzerrolle anlegen
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_role( | |
'entwurfsautor', | |
__( 'Entwurfsautor' ), | |
array( | |
'read' => true, // true allows this capability | |
'edit_posts' => true, | |
'delete_posts' => true, | |
'upload_files' => true, | |
'edit_published_posts' => true, | |
'delete_published_posts' => true, | |
'manage_categories' => true, | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment