[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/build/pages/site-editor/ -> page-wp-admin.php (summary)

Page: site-editor (wp-admin integrated) Auto-generated by build process. Do not edit this file manually. This version integrates with the standard WordPress admin interface, keeping the wp-admin sidebar and scripts/styles intact.

File Size: 289 lines (9 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 7 functions

  register_site_editor_wp_admin_route()
  register_site_editor_wp_admin_menu_item()
  get_site_editor_wp_admin_routes()
  get_site_editor_wp_admin_menu_items()
  site_editor_wp_admin_preload_data()
  site_editor_wp_admin_enqueue_scripts()
  site_editor_wp_admin_render_page()

Functions
Functions that are not part of a class:

register_site_editor_wp_admin_route( $path, $content_module = null, $route_module = null )   X-Ref
Register a route for the site-editor-wp-admin page.

param: string      $path           Route path (e.g., '/types/$type/edit/$id').
param: string|null $content_module Script module ID for content (stage/inspector).
param: string|null $route_module   Script module ID for route lifecycle hooks.

register_site_editor_wp_admin_menu_item( $id, $label, $to, $parent_id = '' )   X-Ref
Register a menu item for the site-editor-wp-admin page.
Note: Menu items are registered but not displayed in single-page mode.

param: string $id        Menu item ID.
param: string $label     Display label.
param: string $to        Route path to navigate to.
param: string $parent_id Optional. Parent menu item ID.

get_site_editor_wp_admin_routes()   X-Ref
Get all registered routes for the site-editor-wp-admin page.

return: array Array of route objects.

get_site_editor_wp_admin_menu_items()   X-Ref
Get all registered menu items for the site-editor-wp-admin page.

return: array Array of menu item objects.

site_editor_wp_admin_preload_data()   X-Ref
Preload REST API data for the site-editor-wp-admin page.
Automatically called during page rendering.


site_editor_wp_admin_enqueue_scripts( $hook_suffix )   X-Ref
Enqueue scripts and styles for the site-editor-wp-admin page.
Hooked to admin_enqueue_scripts.

param: string $hook_suffix The current admin page.

site_editor_wp_admin_render_page()   X-Ref
No description



Generated : Thu Jan 15 08:20:04 2026 Cross-referenced by PHPXref