[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/build/scripts/core-fields/attachment/date/ -> field.php (source)

   1  <?php
   2  /**
   3   * The date the media was added, a copy of the `date_added` field of
   4   * `@wordpress/media-fields`. It is plain data: it has no JavaScript parts.
   5   *
   6   * @package WordPress
   7   */
   8  
   9  return array(
  10      'type'     => 'datetime',
  11      'label'    => __( 'Date added' ),
  12      'filterBy' => array(
  13          'operators' => array( 'before', 'after' ),
  14      ),
  15      'readOnly' => true,
  16  );


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