Based on this answer, yours was easy:
add_filter('post_row_actions', 'wpse_49800_qe_download_link', 10, 2);
add_filter('page_row_actions', 'wpse_49800_qe_download_link', 10, 2);
// for Custom Post Types
// add_filter('cpt_name_row_actions', 'wpse_49800_qe_download_link', 10, 2);
function wpse_49800_qe_download_link($actions, $post) {
unset($actions['inline hide-if-no-js'],$actions['trash']);
return $actions;
}
Notice that you don’t mention the 'Trash', so it’s being removed as well.
Plugin of interest
Adminimize is able to hide lots of stuff from the Admin panel based on user roles.
Related Posts:
- allow editor/author to publish others posts but not publish their own
- Admin Post List Only Show One Category
- Authors can edit all posts, except when an owner is specified?
- Only an admin can add new tags
- Update post counts (published, draft, unattached) in admin interface
- How to prevent a post from being deleted?
- Allow user to “edit_others_posts” to save only, not publish
- How to add a “publish” link to the quick actions
- How to limit user to publish post per day and per role?
- Add role that restricts user to post in specific category
- Allow role to delete posts but block him the wp-admin
- Undefined variable post_id in custom quick edit coloumn
- Multiple authors for single post without plugin
- If specific user role then sticky post
- Downgrade user from role that allows post creation
- Remove the Edit button in posts for permalinks on certain user roles? WP 3.3
- Posts with multiple authors with different roles
- How to get post bulk edit action trigger and get edited post ids?
- Update a users role based on number of posts published
- Change user role when post approve
- Stop users posting into category while still seeing contents of the category
- How to allow users to post only in certain category and hide elements from edit page?
- Post visibility based on user role
- Permission issue with custom post type – not added to menu – by plugin
- “edit_published_posts” and “edit_other_post” issue
- User levels and post visibility
- (solved) getting post author’s user role
- Delete post after x minutes if user role is
- Show posts by author of membership level (Paid Membership Pro)
- Hide comments and posts posted by other user
- Prevent posts with certain post_meta to be edited
- Edit custom fields in posts list
- Show 10 latest posts only from users with contributors role
- Limit Post Creation Count by Author or Role
- allow user to create a draft post but not publish wordpress
- Administrator Posts
- Changing a users posts to drafts upon role change
- Allow author to duplicate but not edit post
- Disable `create_post` for built-in post type
- Add new post only in assigned category
- Remove All in One Seo from Posts for Contributors
- Adding custom fields to the Quick Edit screen – puzzled about the column concept
- each user having category with their name and can add sub categories post in that category
- Multi Quick Edit – Possible Or Impossible?
- WordPress strips some attributes for author posts
- Display posts with id equal to relationship value
- How to allow Contributors to edit their own posts, whilst still needing to be reviewed by an admin?
- Get WordPress post content by post id
- Get page ID of page that is set as the posts page
- Get Posts Under Custom Taxonomy
- How to limit the number of posts that WP_Query gets?
- Stop WordPress Wrapping Images In A “P” Tag
- When is the ‘post_content_filtered’ column in database cleared by WordPress?
- Turn a URL into an Attachment / Post ID
- GET the excerpt by ID
- Stop WordPress automatically adding tags to post content
- Allow member to have access to custom post type only. Permission to only edit their own posts
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- How to add an admin notice upon post save/update
- Print Current Post Index number within Loop
- Should we trust the post globals?
- Optimize post insert and delete for bulk operations?
- Get the Current Page Number
- How do you add thumbnail support for custom post types?
- How to mark every 3rd post
- Change Posts per page count
- Keep featured content post in homepage with original order
- How to display related posts from same category?
- Can posts have parents?
- Is there a action hook for the “Empty Trash” button?
- How to end the excerpt with a sentence rather than a word?
- How do I check if I linked to a post before I delete it?
- How to change the case of all post titles to “Title Case”
- Appending content with broken in 4.4
- How to get posts published between a date and today?
- ZIP up all images displayed in a [gallery] and offer as download link
- How to detect single.php (but not single-portfolio.php)?
- How to check if post meta key exists or not in wordpress database
- How to remove a column from the Posts page
- removing inline styles from wp-caption div
- What is the use of to_ping and pinged column?
- How to use “Add link” pop up for a WordPress widget
- Remove Categories / Tags From Admin Menu
- How to retrieve text only from wp_content() not from wp_excerpt()?
- Stop WP from creating “Sample Page” and “Hello World!” post
- Where is the old post permalink slug stored?
- How to Create Editable Blocks of Text for the Homepage?
- Keyboard shortcut for updating a page or post?
- Add custom Attachment Display Setting for images
- Rewriting post slug before post save
- Apply the_title() filter in post & page title, but not in menu title
- How to Change Order of Posts in Admin?
- is it possible to get next_post_link
- Get post content by ID
- How to get post creation date?
- Function to execute when a post is moved to trash .
- How to get post ID of the current page/post inside a widget?
- add action only on post publish – not update
- How to display by default only published posts/pages in the admin area?