Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WordPress - Change role name
- add_action( 'init', 'change_role_name' );
- function change_role_name() {
- global $wp_roles;
- $wp_roles->roles['administrator']['name'] = 'Webmaster';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement