Changeset 61546 for trunk/src/wp-includes/post.php
- Timestamp:
- 01/28/2026 08:54:36 PM (9 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r61470 r61546 1800 1800 * optional attributes. Default empty array. 1801 1801 * @type string|false $template_lock Whether the block template should be locked if $template is set. 1802 * * If set to 'all', the user is unable to insert new blocks, 1803 * move existing blocks and delete blocks. 1804 * * If set to 'insert', the user is able to move existing blocks 1805 * but is unable to insert new blocks and delete blocks. 1806 * Default false. 1807 * @type bool $_builtin FOR INTERNAL USE ONLY! True if this post type is a native or 1808 * "built-in" post_type. Default false. 1809 * @type string $_edit_link FOR INTERNAL USE ONLY! URL segment to use for edit link of 1810 * this post type. Default 'post.php?post=%d'. 1802 * * If set to 'all', the user is unable to insert new blocks, 1803 * move existing blocks and delete blocks. 1804 * * If set to 'insert', the user is able to move existing blocks 1805 * but is unable to insert new blocks and delete blocks. 1806 * * If set to 'contentOnly', the user is only able to edit the content 1807 * of existing blocks. 1808 * Default false. 1809 * @type bool $_builtin FOR INTERNAL USE ONLY! True if this post type is a native or 1810 * "built-in" post_type. Default false. 1811 * @type string $_edit_link FOR INTERNAL USE ONLY! URL segment to use for edit link of 1812 * this post type. Default 'post.php?post=%d'. 1811 1813 * } 1812 1814 * @return WP_Post_Type|WP_Error The registered post type object on success,
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)