Changeset 46196
- Timestamp:
- 09/20/2019 01:04:50 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r46178 r46196 1314 1314 * Default is value of $show_ui. 1315 1315 * @type bool $show_in_nav_menus Makes this post type available for selection in navigation menus. 1316 * Default is value $public.1316 * Default is value of $public. 1317 1317 * @type bool $show_in_admin_bar Makes this post type available via the admin bar. Default is value 1318 1318 * of $show_in_menu. 1319 * @type bool $show_in_rest Whether to add the post type route in the REST API 'wp/v2' namespace. 1319 * @type bool $show_in_rest Whether to include the post type in the REST API. Set this to true 1320 * for the post type to be available in the block editor. 1320 1321 * @type string $rest_base To change the base url of REST API route. Default is $post_type. 1321 1322 * @type string $rest_controller_class REST API Controller class name. Default is 'WP_REST_Posts_Controller'. -
trunk/src/wp-includes/taxonomy.php
r45932 r46196 364 364 * @type bool $show_in_nav_menus Makes this taxonomy available for selection in navigation menus. If not 365 365 * set, the default is inherited from `$public` (default true). 366 * @type bool $show_in_rest Whether to include the taxonomy in the REST API. 366 * @type bool $show_in_rest Whether to include the taxonomy in the REST API. Set this to true 367 * for the taxonomy to be available in the block editor. 367 368 * @type string $rest_base To change the base url of REST API route. Default is $taxonomy. 368 369 * @type string $rest_controller_class REST API Controller class name. Default is 'WP_REST_Terms_Controller'.
Note: See TracChangeset
for help on using the changeset viewer.