Changeset 57150
- Timestamp:
- 12/03/2023 07:59:10 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r56925 r57150 1624 1624 * @type string|bool $autosave_rest_controller_class REST API controller class name. Default is 'WP_REST_Autosaves_Controller'. 1625 1625 * @type string|bool $revisions_rest_controller_class REST API controller class name. Default is 'WP_REST_Revisions_Controller'. 1626 * @type bool $late_route_registration A flag to direct the REST API controllers for autosave / revisions should be registered before/after the post type controller. 1626 * @type bool $late_route_registration A flag to direct the REST API controllers for autosave / revisions 1627 * should be registered before/after the post type controller. 1627 1628 * @type int $menu_position The position in the menu order the post type should appear. To work, 1628 1629 * $show_in_menu must be true. Default null (at the bottom). … … 1642 1643 * @type bool $map_meta_cap Whether to use the internal default meta capability handling. 1643 1644 * Default false. 1644 * @type array 1645 * @type array|false $supports Core feature(s) the post type supports. Serves as an alias for calling 1645 1646 * add_post_type_support() directly. Core features include 'title', 1646 1647 * 'editor', 'comments', 'revisions', 'trackbacks', 'author', 'excerpt', … … 1652 1653 * about supporting that feature. 1653 1654 * Example: `array( 'my_feature', array( 'field' => 'value' ) )`. 1655 * If false, no features will be added. 1654 1656 * Default is an array containing 'title' and 'editor'. 1655 1657 * @type callable $register_meta_box_cb Provide a callback function that sets up the meta boxes for the
Note: See TracChangeset
for help on using the changeset viewer.