[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/build/scripts/core-fields/page/ -> index.php (source)

   1  <?php
   2  /**
   3   * The `page` collection: the fields pages have instead of the defaults.
   4   *
   5   * Pages support titles, yet their title shows whether the page is the
   6   * homepage, the posts page, or the privacy policy page. So they opt out of
   7   * the default title field, see wp_register_core_field_collections() in
   8   * `src/index.php`, and get the title field of this collection instead, with
   9   * its script module.
  10   *
  11   * @package WordPress
  12   */
  13  
  14  return array(
  15      'origin' => 'core',
  16      'kind'   => 'postType',
  17      'name'   => 'page',
  18      'module' => '@wordpress/core-fields/page',
  19  );


Generated : Thu Oct 22 08:20:34 2026 Cross-referenced by PHPXref