[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/build/pages/font-library/ -> page.php (summary)

Page: font-library Auto-generated by build process. Do not edit this file manually.

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

Defines 7 functions

  register_font_library_route()
  register_font_library_menu_item()
  get_font_library_routes()
  get_font_library_menu_items()
  font_library_preload_data()
  font_library_render_page()
  font_library_intercept_render()

Functions
Functions that are not part of a class:

register_font_library_route( $path, $content_module = null, $route_module = null )   X-Ref
Register a route for the font-library 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_font_library_menu_item( $id, $label, $to, $parent_id = '', $parent_type = '' )   X-Ref
Register a menu item for the font-library page.

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.
param: string $parent_type Optional. Parent type: 'drilldown' or 'dropdown'.

get_font_library_routes()   X-Ref
Get all registered routes for the font-library page.

return: array Array of route objects.

get_font_library_menu_items()   X-Ref
Get all registered menu items for the font-library page.

return: array Array of menu item objects.

font_library_preload_data()   X-Ref
Preload REST API data for the font-library page.
Automatically called during page rendering.


font_library_render_page()   X-Ref
Render the font-library page.
Call this function from add_menu_page or add_submenu_page.


font_library_intercept_render()   X-Ref
No description



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