[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/build/scripts/core-actions/page/set-as-posts-page/ -> action.php (source)

   1  <?php
   2  /**
   3   * The "Set as posts page…" action, for pages: it applies to the pages with
   4   * the `action-set-posts-page` REST link, the published pages that are neither
   5   * the homepage nor the posts page. Its JavaScript parts (`isEligible` and
   6   * `RenderModal`) are in `action.tsx`, next to this file.
   7   *
   8   * @package WordPress
   9   */
  10  
  11  return array(
  12      'label'             => __( 'Set as posts page…' ),
  13      'modalHeader'       => __( 'Set as posts page' ),
  14      'modalFocusOnMount' => 'firstContentElement',
  15  );


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