Changeset 13044 for trunk/wp-includes/post.php
- Timestamp:
- 02/10/2010 04:52:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/post.php
r13016 r13044 712 712 * 713 713 * label - A descriptive name for the post type marked for translation. Defaults to $post_type. 714 * description - A short descriptive summary of what the post type is. Defaults to blank. 714 715 * public - Whether posts of this type should be shown in the admin UI. Defaults to false. 715 716 * exclude_from_search - Whether to exclude posts with this post type from search results. Defaults to true if the type is not public, false if the type is public. … … 744 745 745 746 // Args prefixed with an underscore are reserved for internal use. 746 $defaults = array('label' => false, ' publicly_queryable' => null, 'exclude_from_search' => null, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'public' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array(), 'register_meta_box_cb' => null, 'taxonomies' => array(), 'show_ui' => null );747 $defaults = array('label' => false, 'description' => '', 'publicly_queryable' => null, 'exclude_from_search' => null, '_builtin' => false, '_edit_link' => 'post.php?post=%d', 'capability_type' => 'post', 'hierarchical' => false, 'public' => false, 'rewrite' => true, 'query_var' => true, 'supports' => array(), 'register_meta_box_cb' => null, 'taxonomies' => array(), 'show_ui' => null ); 747 748 $args = wp_parse_args($args, $defaults); 748 749 $args = (object) $args;
Note: See TracChangeset
for help on using the changeset viewer.