Trash post

Short description Trash a post
Aliases trash, delete, remove
Availability On edit post pages, when viewing a post
Description

Use the Trash post action to move the currently viewing post to the trash. This action works on both the front-end and the admin post-edit page. This action works on any post, page and custom post type.

When on the front-end Keyboard Action will trash the post through a background request. When successful a checkmark will appear, or when something went wrong a red ‘X’ instead.

In the admin when viewing the edit-post page it will act as if you were to press the ‘Move to Trash’ link.

Only users with the right permissions are able to see/use this action. The required capability can differ per post type, but for the standard posts and pages it are the delete_posts and delete_pages capabilities.