[wp-hackers] How to make a role inherit anther role's capabilities?

Lox lox.dev at knc.nc
Wed Mar 14 03:49:46 UTC 2012


2012/3/14 peter baylies <pbaylies at semperfiwebdesign.com>

> $role = get_role( 'editor' );
> add_role( 'AnotherRole', 'AnotherRole', $role->capabilities );
>

Thanks a lot.

-- 
Lox
lox.dev at knc.nc


More information about the wp-hackers mailing list