Title: Removing Quick Edit
Last modified: August 19, 2016

---

# Removing Quick Edit

 *  [Jaap](https://wordpress.org/support/users/frostbite117gmailcom/)
 * (@frostbite117gmailcom)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/)
 * Good afternoon,
 * Do you know a good functions.php hack to remove the Quick Edit button, so that
   nobody can use / see it?
 * Thanks in advance!

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

 *  [Chris_K](https://wordpress.org/support/users/handysolo/)
 * (@handysolo)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1359730)
 * Which Quick Edit button? Where do you see it?
 *  Thread Starter [Jaap](https://wordpress.org/support/users/frostbite117gmailcom/)
 * (@frostbite117gmailcom)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1359808)
 * Hi Chris,
 * Thanks for your reply! I mean the following Quick Edit button:
 * [Click on the link to see a screenshot of the Quick Edit button that I mean.](http://www.everdesign.nl/quickedit.jpg)
 *  Thread Starter [Jaap](https://wordpress.org/support/users/frostbite117gmailcom/)
 * (@frostbite117gmailcom)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1359844)
 * Somebody, everybody, anybody sream!
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1359848)
 * /wp-admin/includes/template.php
 * 6 instances of this string to be found `Quick&nbsp;Edit`
 * Edit core files at your own risk, make a backup first, you will have to re-edit
   after upgrades if you make changes.
 *  Thread Starter [Jaap](https://wordpress.org/support/users/frostbite117gmailcom/)
 * (@frostbite117gmailcom)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1359878)
 * Thanks for the reply ClaytonJames!
 * But that is a core hack and not a hack that you put in functions.php.
    So when
   I update it to the next version of WordPress the ‘QEB (Quick Edit Button)’ will
   be back. When you put it in functions.php it doesn’t come back!
 * Thats what i’m looking for basically! Anyone?
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1359882)
 * > But that is a core hack and not a hack that you put in functions.php.
 * That would be 100% correct. If you are talking about placing a modification in
   the functions.php file in your **theme **directory, It wouldn’t seem very likely.
   Your theme would then essentially be capable of controlling a wordpress core 
   file function. I’m thinking that allowing a functions.php file located inside
   of the themes directory to change the appearance or function of a WordPress core
   file, well… that might be a bad trend. I could be wrong. Maybe someone will have
   a different perspective on it. Good luck with it.
 *  [mariostella](https://wordpress.org/support/users/mariostella/)
 * (@mariostella)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360054)
 * [@claytonjames](https://wordpress.org/support/users/claytonjames/)
    Writing code
   inside your funtions.php file works exactly as writing a plugin, so why would
   it be a bad trend? Anyhow, i wish the original question was replied to as I desperately
   need non admins not to have access to the quick edit option, while maintaining
   it for admins. Any ideas anyone?
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360055)
 * > why would it be a bad trend?
 * I don’t know that it would. Would it be? Thus my original complete response:
 * _“that might be a bad trend. I could be wrong. Maybe someone will have a different
   perspective on it”_ …but no one else had any thoughts on it until now I guess!
 * Because the OP didn’t want to alter core files, I presumed he/she was referring
   to the functions file in a particular theme. Perhaps “impractical” rather than“
   a bad trend”, would have better conveyed my thinking. It seems (to me, anyhow)
   like the solution for controlling the appearance or functionality of the _administration
   area/Dashboard of WordPress_, rather than simply adding options pages or functionality
   for the theme itself, would be better served by a plugin. Then you could use 
   it with _any_ theme, and share it with your friends too!!
 * I Wish I had the smarts to write one for you… good luck finding what you need!
 * 🙂
 *  [mariostella](https://wordpress.org/support/users/mariostella/)
 * (@mariostella)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360056)
 * [@frostbite](https://wordpress.org/support/users/frostbite/)
    Here you go [http://wordpress.org/support/topic/380415?replies=9](http://wordpress.org/support/topic/380415?replies=9)
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360057)
 * You know, I saw that too, but this made me wonder about the wisdom of using that
   method:
 * >  [NOTE: The code will stop working as of WP 3.0](http://wordpress.org/support/topic/380415?replies=9#post-1453820)
   > due to changes in how pages are handled in the backend. Pages will be handled
   > by edit.php with a post type of page, instead of the current seperate edit-
   > pages.php
 * Especially after reading this thread:
 * [http://wordpress.org/support/topic/370002?replies=32#post-1429691](http://wordpress.org/support/topic/370002?replies=32#post-1429691)
 *  [mariostella](https://wordpress.org/support/users/mariostella/)
 * (@mariostella)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360058)
 * Oh well, you just need a small mod, it is really worth the while…
 *  [fvl2000](https://wordpress.org/support/users/fvl2000/)
 * (@fvl2000)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360085)
 * You can insert this code in a plugin. This will remove the quick edit from wp-
   admin/edit.php
 *     ```
       function remove_quick_edit( $actions ) {
       unset($actions['inline hide-if-no-js']);
       return $actions;
       }
       add_filter('post_row_actions','remove_quick_edit',10,1);
       ```
   
 *  [fatalx](https://wordpress.org/support/users/fatalx/)
 * (@fatalx)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360087)
 * I had the same problem. The solution above worked perfectly for me!

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

The topic ‘Removing Quick Edit’ is closed to new replies.

 * 13 replies
 * 6 participants
 * Last reply from: [fatalx](https://wordpress.org/support/users/fatalx/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/removing-quick-edit/#post-1360087)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
