{"id":140296,"date":"2010-09-01T08:00:00","date_gmt":"2010-09-01T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/quick-drafts-access\/"},"modified":"2025-04-15T05:19:00","modified_gmt":"2025-04-15T05:19:00","slug":"quick-drafts-access","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/quick-drafts-access\/","title":{"rendered":"Quick Drafts Access"},"content":{"rendered":"<p>By default in WordPress, accessing the drafts listing of any given post type (including posts and pages) in the admin requires multiple clicks. Then filtering the drafts listing by a particular user (generally to view only your drafts) additionally requires some non-obvious manual URL hacking.<\/p>\n<p>This plugin allows you one click access to all drafts, as well as to just your drafts, of each post type via the main admin menu.<\/p>\n<p>In addition, the plugin provides a count of the number of current drafts for that post type in the link (i.e. the link could read \u201cAll Drafts (3)\u201d to indicate there are three drafts for that post type, and \u201cMy Drafts (1)\u201d to indicate you only have one draft for that post type).<\/p>\n<p>When the user is responsible for all of the drafts of a given post type (and the \u201cMy Drafts\u201d link is not disabled via a hook) then only the \u201cMy Drafts\u201d links will appear. It would be redundant to show both the \u201cAll Drafts\u201d and \u201cMy Drafts\u201d links in this situation. This behavior also ensures only one link is present for single-author blogs.<\/p>\n<p>Also, the draft link(s) only appear for users who have the capability to edit posts of that post type.<\/p>\n<p>The plugin hides the two types of draft links when no related drafts for that post type are present. See the Filters section for how to override this behavior. Filters are also provided to disable the plugin from ever showing the \u201cAll Drafts\u201d or the \u201cMy Drafts\u201d links.<\/p>\n<p>On admin listings of only draft posts, this plugin also adds a dropdown above the table that allows for the listing to be filtered by the selected draft author. (Only users who actually have a draft post are included in the dropdown.)<\/p>\n<p>Links: <a href=\"https:\/\/coffee2code.com\/wp-plugins\/quick-drafts-access\/\" rel=\"nofollow ugc\">Plugin Homepage<\/a> | <a href=\"https:\/\/wordpress.org\/plugins\/quick-drafts-access\/\" rel=\"ugc\">Plugin Directory Page<\/a> | <a href=\"https:\/\/github.com\/coffee2code\/quick-drafts-access\/\" rel=\"nofollow ugc\">GitHub<\/a> | <a href=\"https:\/\/coffee2code.com\" rel=\"nofollow ugc\">Author Homepage<\/a><\/p>\n<h3>Developer Documentation<\/h3>\n<p>Developer documentation can be found in <a href=\"https:\/\/github.com\/coffee2code\/quick-drafts-access\/blob\/master\/DEVELOPER-DOCS.md\" rel=\"nofollow ugc\">DEVELOPER-DOCS.md<\/a>. That documentation covers the numerous hooks provided by the plugin. Those hooks are listed below to provide an overview of what\u2019s available.<\/p>\n<ul>\n<li><code>c2c_quick_drafts_access_post_types<\/code> : Customize the list of post_types for which the draft links will be shown<\/li>\n<li><code>c2c_quick_drafts_access_show_all_drafts_menu_link<\/code> : Customize whether the \u2018All Drafts\u2019 link will appear at all for a post type.<\/li>\n<li><code>c2c_quick_drafts_access_show_my_drafts_menu_link<\/code> : Customize whether the \u2018My Drafts\u2019 link will appear at all for a post type.<\/li>\n<li><code>c2c_quick_drafts_access_show_if_empty<\/code> : Customize whether the \u2018All Drafts\u2019 and\/or \u2018My Drafts\u2019 links will appear for a post type <em>when that post type currently has no drafts<\/em>.<\/li>\n<li><code>c2c_quick_drafts_access_disable_filter_dropdown<\/code> : removal of the \u2018Drafts By\u2019 dropdown from drafts post list table.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Adds links to 'All Drafts' and 'My Drafts' under Posts, Pages, and other custom post type sections in the admin menu.<\/p>\n","protected":false},"author":65,"featured_media":330830,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Quick Drafts Access - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Adds links to 'All Drafts' and 'My Drafts' under Posts, Pages, and other custom post type sections in the admin menu."},"footnotes":""},"categories":[1],"tags":[197,4498,1915,356,13821],"class_list":["post-140296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-admin","tag-draft","tag-drafts","tag-menu","tag-shortcut"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/140296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=140296"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/140296\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/330830"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=140296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=140296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=140296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}