Tagged Questions
1
vote
1answer
200 views
edit role display name and label name without plugins
I'am creating WordPress function for editing role name
function change_role_name($role_name, $new_role_name, $display_name) {
global $wp_roles;
if ( ! isset( $wp_roles ) )
$wp_roles ...
3
votes
1answer
416 views
Roles & capabilities GUI that does not create separate table
After reviewing plugins that deal with user roles and capabilities I concluded that I might be better off just hardcoding my settings into my functions.php file. This actually worked out well for me ...