| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * The `wp_template_part` collection: the fields template parts have instead 4 * of the defaults. 5 * 6 * Template parts support authors, yet their author is the theme, plugin, 7 * site, or user that provides them rather than their post author. 8 * So they opt out of the default author field, see 9 * wp_register_core_field_collections() in `src/index.php`, and get the 10 * author field of this collection instead, with its script module. The 11 * collection also defines the title field of template parts. 12 * 13 * @package WordPress 14 */ 15 16 return array( 17 'origin' => 'core', 18 'kind' => 'postType', 19 'name' => 'wp_template_part', 20 'module' => '@wordpress/core-fields/wp_template_part', 21 );
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated : Thu Oct 22 08:20:34 2026 | Cross-referenced by PHPXref |