I have a custom post status which should be public visible but not displayed in the "all" list of the edit screen.
This is how I register the post status:
register_post_status('my_custom_post_status', array(
'label' => __('The Label', 'domain'),
'public' => true,
'exclude_from_search' => true,
'show_in_admin_all_list' => false,
'label_count' => //blablabla
));
The show_in_admin_all_list = false should hide the status in the all-list but it doesn't. Only if I set the public to false it is not visible. But I need public = true!
Any ideas
Codex: http://codex.wordpress.org/Function_Reference/register_post_status
register_post_statusis not! meant to be used by themes or plugins. I wrote a pretty intense plugin to work around that fact, but anyway: It's not that simple and you will simply have to drop the idea of custom post status. Search through my answers to read more about it. – kaiser Oct 9 '12 at 18:58