Title: Disable Add shortcode button
Last modified: April 15, 2021

---

# Disable Add shortcode button

 *  Resolved [hntask](https://wordpress.org/support/users/hntask/)
 * (@hntask)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/disable-add-shortcode-button/)
 * Hi there,
 * It’s creating some issues for me when editing something and makes the editor 
   behave differently. Can you please let me know from where I can disable the “
   Add Shortcode” icon button? Which appears next to every editor box.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Rahul Gandhi](https://wordpress.org/support/users/wpdev10/)
 * (@wpdev10)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/disable-add-shortcode-button/#post-14323356)
 * Hi,
 * Can you put the following code in your functions.php file of the currently active
   theme or via code snippet plugin and let me know if it helps or not?
 * `remove_action( 'media_buttons', array( new WP_Super_Duper(array()), 'shortcode_insert_button'));`
 * Regards,
    Patrik
 *  Thread Starter [hntask](https://wordpress.org/support/users/hntask/)
 * (@hntask)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/disable-add-shortcode-button/#post-14323408)
 * Thank you so much! It works.
 * One more thing on the registration page your password strength progress bar works
   but it’s not working on the registration popup. Can you please let me know is
   it a bug or there’s something wrong on my side?
 *  [Rahul Gandhi](https://wordpress.org/support/users/wpdev10/)
 * (@wpdev10)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/disable-add-shortcode-button/#post-14325697)
 * Hi,
 * Can you create a support ticket on our site [http://userswp.io/support](http://userswp.io/support)
   for that?
 * Regards,
    Patrik
 *  Thread Starter [hntask](https://wordpress.org/support/users/hntask/)
 * (@hntask)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/disable-add-shortcode-button/#post-14327433)
 * Okay. I’ll.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Disable Add shortcode button’ is closed to new replies.

 * ![](https://ps.w.org/userswp/assets/icon-256x256.png?rev=2784318)
 * [UsersWP - Front-end login form, User Registration, User Profile & Members Directory plugin for WP](https://wordpress.org/plugins/userswp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/userswp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/userswp/)
 * [Active Topics](https://wordpress.org/support/plugin/userswp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/userswp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/userswp/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [hntask](https://wordpress.org/support/users/hntask/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/disable-add-shortcode-button/#post-14327433)
 * Status: resolved