{"id":212015,"date":"2024-11-21T15:18:28","date_gmt":"2024-11-21T15:18:28","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/trash-post-in-block-editor\/"},"modified":"2025-12-12T09:10:54","modified_gmt":"2025-12-12T09:10:54","slug":"trash-post-in-block-editor","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/trash-post-in-block-editor\/","author":22050467,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"6.8.5","requires":"6.6","requires_php":"7.4","requires_plugins":null,"header_name":"Trash Post in Block Editor","header_author":"badasswp","header_description":"Delete a Post from within the WP Block Editor.","assets_banners_color":"333333","last_updated":"2025-12-12 09:10:54","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/badasswp\/trash-post-in-block-editor","header_author_uri":"https:\/\/github.com\/badasswp","rating":0,"author_block_rating":0,"active_installs":0,"downloads":822,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"badasswp","date":"2024-11-21 15:18:05"},"1.0.1":{"tag":"1.0.1","author":"badasswp","date":"2024-11-21 15:18:05"},"1.0.2":{"tag":"1.0.2","author":"badasswp","date":"2025-02-04 19:19:14"},"1.0.3":{"tag":"1.0.3","author":"badasswp","date":"2025-02-22 20:13:15"},"1.0.4":{"tag":"1.0.4","author":"badasswp","date":"2025-07-30 09:31:14"},"1.0.5":{"tag":"1.0.5","author":"badasswp","date":"2025-07-30 09:31:14"},"1.0.6":{"tag":"1.0.6","author":"badasswp","date":"2025-08-15 17:21:05"},"1.1.0":{"tag":"1.1.0","author":"badasswp","date":"2025-12-12 09:10:54"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3194272,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3194272,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3194272,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3194272,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3194272,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3194272,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3194272,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Trash Post - Delete Post from within the WP Block Editor.","2":"Trash Button - Delete Post button located in the Inspector Panel.","3":"Yes\/No Prompt - Delete Post from within the WP Block Editor."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1220,2872,1332,86,4667],"plugin_category":[],"plugin_contributors":[228863],"plugin_business_model":[],"class_list":["post-212015","plugin","type-plugin","status-publish","hentry","plugin_tags-block","plugin_tags-delete","plugin_tags-editor","plugin_tags-post","plugin_tags-trash","plugin_contributors-badasswp","plugin_committers-badasswp"],"banners":{"banner":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/banner-772x250.png?rev=3194272","banner_2x":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/banner-1544x500.png?rev=3194272","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/icon-128x128.png?rev=3194272","icon_2x":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/icon-256x256.png?rev=3194272","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/screenshot-1.png?rev=3194272","caption":"Trash Post - Delete Post from within the WP Block Editor."},{"src":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/screenshot-2.png?rev=3194272","caption":"Trash Button - Delete Post button located in the Inspector Panel."},{"src":"https:\/\/ps.w.org\/trash-post-in-block-editor\/assets\/screenshot-3.png?rev=3194272","caption":"Yes\/No Prompt - Delete Post from within the WP Block Editor."}],"raw_content":"<!--section=description-->\n<p>This plugin provides a quick way to <strong>delete<\/strong> or <strong>trash<\/strong> a Post from <strong>within<\/strong> the <strong>Block Editor<\/strong>. Previously, the only way to achieve this required a user to exit the article or post before deleting. Not anymore! Now, from the comfort of your Block Editor, you could easily delete the Post you're working on with ease.<\/p>\n\n<h4>\u2728 Getting Started<\/h4>\n\n<p>Create a new Post or open an existing Post. Locate the 'Trash Post in Block Editor' icon at the <strong>top right<\/strong> corner of the Block Editor and click on it. The inspector panel shows you a <strong>Trash Post<\/strong> button where you can click on.<\/p>\n\n<p>You can get a taste of how this works, by using the <a href=\"https:\/\/tastewp.com\/create\/NMS\/8.0\/6.6.2\/trash-post-in-block-editor\/twentytwentythree?ni=true&amp;origin=wp\">demo<\/a> link.<\/p>\n\n<h4>\ud83d\udd0c\ud83c\udfa8 Plug and Play or Customize<\/h4>\n\n<p>The Trash Post in Block Editor plugin is built to work right out of the box. Simply install, activate and start using.<\/p>\n\n<p>Want to add your personal touch? All of our documentation can be found <a href=\"https:\/\/github.com\/badasswp\/trash-post-in-block-editor\">here<\/a>.<\/p>\n\n<h3>Contribute<\/h3>\n\n<p>If you'd like to contribute to the development of this plugin, you can find it on <a href=\"https:\/\/github.com\/badasswp\/trash-post-in-block-editor\">GitHub<\/a>.<\/p>\n\n<p>To build, clone repo and run <code>yarn install &amp;&amp; yarn build<\/code><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Go to 'Plugins &gt; Add New' on your WordPress admin dashboard.<\/li>\n<li>Search for 'Trash Post in Block Editor' plugin from the official WordPress plugin repository.<\/li>\n<li>Click 'Install Now' and then 'Activate'.<\/li>\n<li>Proceed to your Block Editor and locate the top right corner.<\/li>\n<li>You should now see the 'Trash Post in Block Editor' icon available for use.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Feat: Add custom hooks - <code>tpbe_redirect_url<\/code>, <code>tpbe.afterTrashPost<\/code>.<\/li>\n<li>Improve <code>\/trash<\/code> REST endpoint.<\/li>\n<li>Tested up to WP 6.8<\/li>\n<li>Update README docs.<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Bump up plugin version.<\/li>\n<li>Tested up to WP 6.8<\/li>\n<li>Update README docs.<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Feat: Re-position trash icon to Pinned Items area.<\/li>\n<li>Feat: Add shortcut command - CMD + SHIFT + K.<\/li>\n<li>Test: Add e2e automation tests.<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Add wp-env for local development.<\/li>\n<li>Enforce WP linting across plugin codebase.<\/li>\n<li>Use webpack generated dependencies.<\/li>\n<li>Update README docs.<\/li>\n<li>Tested up to WP 6.7.2<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update README docs.<\/li>\n<li>Tested up to WP 6.7.2.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Remove breaking WP dependency.<\/li>\n<li>Bump up plugin version.<\/li>\n<li>Fix Bugs &amp; Linting issues.<\/li>\n<li>Tested up to WP 6.7.1.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Bump up plugin version.<\/li>\n<li>Fix Bugs &amp; Linting issues.<\/li>\n<li>Tested up to WP 6.7.0.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Added Trash Post feature.<\/li>\n<li>Support for Arabic, Danish, Chinese, Hebrew, Hindi, Russian, German, Italian, Croatian, Spanish &amp; French languages.<\/li>\n<li>Tested up to WP 6.6.2.<\/li>\n<\/ul>","raw_excerpt":"Delete a Post from within the WP Block Editor with just a few clicks, making content management easier and more efficient.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/212015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=212015"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/badasswp"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=212015"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=212015"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=212015"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=212015"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=212015"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=212015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}