Support » Plugin: Interactive 3D FlipBook » Shortcode access for editors

  • Resolved solerous

    (@solerous)


    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)
  • Plugin Author iberezansky

    (@iberezansky)

    Edit plugin file: shortcode-generator.php
    replace manage_options with edit_posts on 9 line.

    • This reply was modified 6 months, 1 week ago by James Huff.
    • This reply was modified 6 months, 1 week ago by iberezansky.
Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode access for editors’ is closed to new replies.