{"id":36862,"date":"2015-06-13T00:36:12","date_gmt":"2015-06-13T00:36:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/sewn-in-post-delete\/"},"modified":"2015-06-13T01:11:19","modified_gmt":"2015-06-13T01:11:19","slug":"sewn-in-post-delete","status":"publish","type":"plugin","link":"https:\/\/haz.wordpress.org\/plugins\/sewn-in-post-delete\/","author":70828,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1","stable_tag":"1.0.1","tested":"4.2.39","requires":"3.6.1","requires_php":"","requires_plugins":"","header_name":"Sewn In Post Delete","header_author":"Jupitercow","header_description":"","assets_banners_color":"389abe","last_updated":"2015-06-13 01:11:19","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=jacobsnyder%40gmail%2ecom&lc=US&item_name=Jacob%20Snyder&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/sewn-in-post-delete\/","header_author_uri":"http:\/\/Jupitercow.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1518,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0.0":"<p>This is the first version in the Wordpress repository.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1180040","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1180040","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1180003","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1180003","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1180002","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1180002","resolution":"2","location":"assets"}},"screenshots":{"1":"The basic shortcode in the backend.","2":"The default delete link on the frontend."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18097,2788,2250,1655],"plugin_category":[],"plugin_contributors":[82642,82641],"plugin_business_model":[],"class_list":["post-36862","plugin","type-plugin","status-publish","hentry","plugin_tags-delete-posts","plugin_tags-front-end","plugin_tags-frontend","plugin_tags-gravity-forms","plugin_contributors-ekaj","plugin_contributors-jcow","plugin_committers-jcow"],"banners":{"banner":"https:\/\/ps.w.org\/sewn-in-post-delete\/assets\/banner-772x250.png?rev=1180003","banner_2x":"https:\/\/ps.w.org\/sewn-in-post-delete\/assets\/banner-1544x500.png?rev=1180003","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sewn-in-post-delete\/assets\/icon-128x128.jpg?rev=1180040","icon_2x":"https:\/\/ps.w.org\/sewn-in-post-delete\/assets\/icon-256x256.jpg?rev=1180040","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sewn-in-post-delete\/assets\/screenshot-1.png?rev=1180002","caption":"The basic shortcode in the backend."},{"src":"https:\/\/ps.w.org\/sewn-in-post-delete\/assets\/screenshot-2.png?rev=1180002","caption":"The default delete link on the frontend."}],"raw_content":"<!--section=description-->\n<p>Adds a shortcode and action to add a \"Delete Post\" link to posts so user's can delete them. By default it requires the user to have the \"delete_post\" capability for the post in question, but if you want anarchy, you can customize that all the way to loggedin or even public...<\/p>\n\n<h4>SHORTCODE<\/h4>\n\n<pre><code>[sewn_post_delete_link] \/\/ Loads current post for editing\n\n[sewn_post_delete_link text=\"Bye bye post\" before=\"\" after=\"\" title=\"\" class=\"\"] \/\/ Will change the link text to \"Bye bye post\"\n<\/code><\/pre>\n\n<h3>Attributes<\/h3>\n\n<p>These are the same arguments for in template action below.<\/p>\n\n<p>text = link text\nbefore = html to show before the link\nafter = html to show after the link\ntitle = the link title, defaults to link text\nclass = extra classes to add to the link<\/p>\n\n<h4>IN TEMPLATE<\/h4>\n\n<p>This will show the link to users have the ability to use it.<\/p>\n\n<pre><code>do_action('sewn\/post_delete\/link');\n\ndo_action('sewn\/post_delete\/link', array('text'=&gt;\"Bye bye post\", 'before'=&gt;'', 'after'=&gt;'', title=&gt;'', 'class'=&gt;''));\n<\/code><\/pre>\n\n<!--section=installation-->\n<ul>\n<li>Install plugin either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin via the Plugins admin page.<\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt>None yet.<\/dt>\n<dd><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0 - 2015-06-08<\/h4>\n\n<ul>\n<li>Initial launch<\/li>\n<\/ul>","raw_excerpt":"A very basic framework for deleting posts on the front end. Uses a nonce for security and checks capabilities to what a user has access to.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/36862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=36862"}],"author":[{"embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/jcow"}],"wp:attachment":[{"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=36862"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=36862"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=36862"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=36862"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=36862"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/haz.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=36862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}