[wp-hackers] Add Post Statuses?
Mike Schinkel
mikeschinkel at newclarity.net
Fri Mar 26 22:38:47 UTC 2010
I'm trying to figure out how to add a new post status in wp3.0. I run register_post_status() and it enables querying for that post type:
register_post_status(
'hidden',
array(
'label' => _x('Hidden', 'post'),
'public' => true,
'label_count' => _n_noop('Hidden <span class="count">(%s)</span>', 'Hidden <span class="count">(%s)</span>')
)
);
...however when I go to a post or page editor in the admin the "Hidden" status does not show up. Clearly I need to do something else. Can anyone suggest what that would be?
Thanks in advance.
-Mike
More information about the wp-hackers
mailing list