[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

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

   1  <?php
   2  /**
   3   * The post the media is attached to, a copy of the `attached_to` field of
   4   * `@wordpress/media-fields`. Its JavaScript parts (`Edit` and `render`) are
   5   * in `field.tsx`, next to this file.
   6   *
   7   * @package WordPress
   8   */
   9  
  10  return array(
  11      'type'          => 'text',
  12      'label'         => __( 'Attached to' ),
  13      'enableSorting' => false,
  14      'filterBy'      => false,
  15  );


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