Unfortunately there are no filters or actions for modifying the post status select in quick edit (WP_Posts_List_Table::inline_edit()
) – you’d need to resort to JavaScript:
(function($){
$( "select[name=_status]" ).each(
function () {
var value = $( this ).val();
if ( value === "pending" )
$( "option[value=pending]", this ).after( "<option value="status-1">Status 1</option>" );
else if ( value === "status-1" )
$( "option[value=status-1]", this ).after( "<option value="status-2">Status 2</option>" );
}
);
})(jQuery);
Related Posts:
- Show recent published posts
- Can’t schedule post for another time
- Get publish post link?
- Force Publish Future (Scheduled) Posts Immediately [duplicate]
- Visual Studio SignTool.exe Not Found
- How can I set a draft page as parent without publishing?
- Display a post’s publish date from 2112
- Does blocking xmlrpc.php affect pinging update services like pingomatic
- How to add a “publish” link to the quick actions
- I can’t preview post’s change once they are published
- How to change post status in hook?
- Publish post when edit post form submitted with enter/return pressed on keyboard
- featuring old articles without messing up with the archive
- How do I limit the status options for bulk/quick edit to only Published and Draft?
- Hiding by default specific post status on backend list?
- How to make scheduled post preview visible to anyone?
- Scheduled Posts and wp-cron – Why don’t scheduled posts publish if too old?
- Why does publish_{custom-post-type} fire on update?
- Is there a way to know if a post has been published through XML-RPC?
- How to unpublish a page and still keep a draft?
- get_terms on save_post hook
- Save and Publish button not working after installing SSL
- What differences are there between a Privately Published post and a Draft post?
- Disable “preview changes” button
- Can we have private drafts?
- Update post meta on bulk edit / update
- Custom post type suppress transition from future to publish
- Workflow for attachments in WordPress
- publish_post called too early
- Custom save button shows ‘Are you sure you want to…’ dialog
- Controlled publishing in WordPress
- Change the text of the publish button to Save
- Do action for only switch status for publish_post
- problem with publish date not always appearing [duplicate]
- Update status of all posts in a category
- What is happening to make my Update/Publish button disabled?
- Ajax function on #publish only saves as draft – how to make it publish?
- What is the reason for the new_to_publish hook not working?
- After I publish a post where does it go
- Should you manually ping new WordPress posts?
- Authors should not publish
- I need to modify drafts using custom data from database and then publish it
- How to show or hide a post based on meta_value selection?
- i am making text changes on my page show in preview not on live site, why? [closed]
- Is WordPress “publish” atomic?
- How to move post process to background
- How does redirect work when publish date changes and date in url changes?
- How to set a Post’s default visibility to ‘Private’ in Gutenberg?
- Gutenberg publish date datepicker
- If click on Save/Publish change Post Status to Pending Review instead Publish
- How publish post from pending status
- How Google Indexer should only index published pages
- Publish and go to page [duplicate]
- Publish Post Action Not Working
- Is it normal for a scheduled post to say “Missed Schedule”
- Manage multiple wordpress installs (Best Practice)
- How to edit wordpress post without republishing
- Showing the next post’s title, even if it’s an unpublished post
- Can’t publish posts, Jetpack won’t connect, empty notification emails to my inbox [closed]
- I am creating a front end dashboard where I need to show all the posts by the current user. So, I need to show posts in publish
- Duplicate post on publish
- How is it possible to use a very reduced version of WordPress?
- Problems in updating a self-developed plugin
- How to HIDE everything in PUBLISH metabox except Move to Trash & PUBLISH button
- Restrict a Post Types Post Status
- Customize users’ capabilities to change a custom post’s post status
- How to hook into the quick edit action?
- Access post meta just after publishing
- Detect Post Type when publish_post is ran
- How does WordPress track that a certain User is Logged-In
- Getting the different post statuses + count like in edit.php, in a custom submenu page
- Change name of existing post status type
- Tweets based on Twitter hashtag into a pending WP post
- Send email with custom fields after new draft is saved or new post published
- Set meta field to publish date + 2 weeks
- Individual post. Meta_key, taxonomy or post status for separation?
- Allowing user to edit posts based on the post status
- wp_publish_post to saved draft, permalinks broken
- How to change custom post type status when non-admin updates post?
- Does the WP_Query ‘private’ argument for post status only apply to privately published content?
- redirect deleted / drafted pages
- How can I move (or create another) publish button?
- how can i allow users to view their own pending posts in a front-end page
- Setting Up PHP Workflow in WordPress
- where does this $post_id come from?
- Alternative to new_to_publish Hook for Custom Statuses
- Published post auto change status to pending after 90 days
- How to change post status from “draft” to “publish”?
- How can I tell if a post has been published at least once?
- Send email for pending post
- Showing posts for today and future
- How to validate custom fields in Quick edit/bulk edit?
- Hook when post is set from published to draft?
- How to add published date in product [closed]
- Custom status and permalinks don’t work?
- Publish post and create additional posts with same content
- Adding a Custom ‘Now’ button under ‘Published on’ header to return current date and time
- Tracing dashboard publish settings from input form in WordPress
- How can add custom commands in post-new.php in wordpress
- How to add a custom field to the comments “Quick Edit” screen?