Plugin Author
AITpro
(@aitpro)
BPS checks for manage_options – current_user_can(‘manage_options’);, which is an Administrator Role.
http://codex.wordpress.org/Roles_and_Capabilities#Administrator
Plugin Author
AITpro
(@aitpro)
Did this answer your question?
An interesting idea that I have never condsidered adding before, but might have some usefulness? I will see if there are any benefits to adding something like this to BPS. Thanks.
Source: http://wordpress.stackexchange.com/questions/31471/how-to-create-a-clone-role-in-wordpress
add_action('init', 'cloneRole');
function cloneRole()
{
global $wp_roles;
if ( ! isset( $wp_roles ) )
$wp_roles = new WP_Roles();
$adm = $wp_roles->get_role('administrator');
//Adding a 'new_role' with all admin caps
$wp_roles->add_role('new_role', 'My Custom Role', $adm->capabilities);
}
Plugin Author
AITpro
(@aitpro)
Resolving question has been answered.