I posted this before, but can no longer find my post. I posted it about a week ago.
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’ );
$role = get_role( ‘editor’ );
$role->add_cap( ‘….???….’ );