[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The title of a page. Its JavaScript parts (`getValue` and `render`) are in `field.tsx`, next to
   4   * this file: the render adds a badge to the homepage, the posts page, and
   5   * the privacy policy page.
   6   *
   7   * @package WordPress
   8   */
   9  
  10  return array(
  11      'type'               => 'text',
  12      'label'              => __( 'Title' ),
  13      'placeholder'        => __( 'No title' ),
  14      'enableHiding'       => false,
  15      'enableGlobalSearch' => true,
  16      'filterBy'           => false,
  17  );


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