Shortcode access for editors
-
I need the ability for editors to generate shortcodes. How can this be done? I have the 1.9.19 Pro version running on WordPress 5.2. I can add something in functions.php, but I don’t know what to add.
I was thinking something like this?
if ( is_admin() )
{
add_action( ‘admin_menu’, ‘add_3dflip_for_editors’ );
}function add_3dflip_for_editors()
{
$role = get_role( ‘editor’ );
$role->add_cap( ‘….???….’ );
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode access for editors’ is closed to new replies.