Documentation: Add 'template' arg documentation
Add inline documentation for the 'template' arg accepted by register_post_type(). Props milana_cap. See #46261. Built from https://develop.svn.wordpress.org/trunk@49041 git-svn-id: http://core.svn.wordpress.org/trunk@48803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
41b456eca9
commit
8fa8aad136
|
@ -1407,6 +1407,9 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' )
|
|||
* to the user will *not* be trashed or deleted. If not set (the default),
|
||||
* posts are trashed if post_type_supports('author'). Otherwise posts
|
||||
* are not trashed or deleted. Default null.
|
||||
* @type array $template Array of blocks to use as the default initial state for an editor
|
||||
* session. Each item should be an array containing block name and
|
||||
* optional attributes.
|
||||
* @type bool $_builtin FOR INTERNAL USE ONLY! True if this post type is a native or
|
||||
* "built-in" post_type. Default false.
|
||||
* @type string $_edit_link FOR INTERNAL USE ONLY! URL segment to use for edit link of
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-alpha-49040';
|
||||
$wp_version = '5.6-alpha-49041';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue