How To Remove “row-actions” From Table Display? – WordPress

Hi it’s been a while now since my last posts so I’m thinking to add new interesting tips and snippet, sounds great right? of course, this simple snippet remove or unset row-actions in your WordPress dashboard that says “dit”, “Quick Edit”, “view” and etc., this snippet is useful if you don’t want that functionality display in dashboard tables like in your custom post type, e.g. slider.


Additional Tip:

For hierarchical post types simply update the filter above to this.

If you want to remove all row-actions simply return an empty array like this

That’s it, pretty easy, enjoy blogging share your thoughts below on the comment.

by Ryan Sutana