Ticket #15947: register_post_status docs.diff
File register_post_status docs.diff, 1.1 KB (added by , 15 years ago) |
---|
-
wp-includes/post.php
617 617 * Optional $args contents: 618 618 * 619 619 * label - A descriptive name for the post status marked for translation. Defaults to $post_status. 620 * public - Whether posts of this status should be shown in the admin UI. Defaults to true.620 * public - Whether posts of this status should be shown in the front end of the site. Defaults to true. 621 621 * exclude_from_search - Whether to exclude posts with this post status from search results. Defaults to true. 622 * show_in_admin_all_list - Whether to include posts in the edit listing for their post type 623 * show_in_admin_status_list - Show in the list of statuses with post counts at the top of the edit 624 * listings, e.g. All (12) | Published (9) | My Custom Status (2) ... 625 * 626 * Arguments prefixed with an _underscore shouldn't be used by plugins and themes. 622 627 * 623 628 * @package WordPress 624 629 * @subpackage Post