Created
June 17, 2015 12:44
-
-
Save mariusvetrici/27d194d219be462d8324 to your computer and use it in GitHub Desktop.
Add html comments using newly created user role
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 | |
$role = add_role( 'new_role', 'My new role' ); | |
// Add all your needed roles here and then, don't forget: | |
$role->add_cap( 'unfiltered_html' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment