Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Strast

    (@strast)

    Found it…

    /**
    * Hide the shortcode generator from any user below administrator level
    * http://gndev.info/kb/how-to-restrict-access-to-shortcode-generator/
    */
    update_option( 'su_generator_access', 'administrator' );

    can you post full code..?
    i want to hide it too.

    Thread Starter Strast

    (@strast)

    That’s it!
    Just add the update_option line to your theme’s functions.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove the "Insert shortcode" button from editor’ is closed to new replies.