Created
November 6, 2012 05:49
-
-
Save claudiosanches/4022846 to your computer and use it in GitHub Desktop.
Wordpress - Retore roles, permissions and capabilities
This file contains hidden or 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 | |
/** | |
* Returar papéis, permissões e capacidades: | |
* | |
* Cole isso no seu functions.php. | |
* Atualize o seu site pelo navegador (F5) e depois delete isso! | |
* | |
*/ | |
include( ABSPATH . 'wp-admin/includes/schema.php' ); | |
echo populate_roles(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment