wp-includes/build/pages/font-library/page.php:45Register a menu item for the font-library page.
$idstring$labelstring$tostring$parent_idstringoptional''$parent_typestringoptional''function wp_register_font_library_menu_item( $id, $label, $to, $parent_id = '', $parent_type = '' ) { global $wp_font_library_menu_items; $menu_item = array( 'id' => $id, 'label' => $label, 'to' => $to, ); if ( ! empty( $parent_id ) ) { $menu_item['parent'] = $parent_id; } if ( ! empty( $parent_type ) && in_array( $parent_type, array( 'drilldown', 'dropdown' ), true ) ) { $menu_item['parent_type'] = $parent_type; } $wp_font_library_menu_items[] = $menu_item;}Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/build/pages/font-library/page.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.