Edit-Flow icon indicating copy to clipboard operation
Edit-Flow copied to clipboard

Support more arguments when adding or editing custom statuses

Open danielbachhuber opened this issue 13 years ago • 1 comments

A request from the forums, it would be great if we could support the following arguments when registering custom statuses:

  • label - A descriptive name for the post status marked for translation. Defaults to $post_status.
  • public - Whether posts of this status should be shown in the front end of the site. Defaults to true.
  • exclude_from_search - Whether to exclude posts with this post status from search results. Defaults to false.
  • show_in_admin_all_list - Whether to include posts in the edit listing for their post type
  • show_in_admin_status_list - Show in the list of statuses with post counts at the top of the edit listings, e.g. All (12) | Published (9) | My Custom Status (2) ...

danielbachhuber avatar Jan 31 '12 15:01 danielbachhuber

This doesn't make any sense to support until core supports these arguments.

danielbachhuber avatar Feb 19 '13 15:02 danielbachhuber