Title: font-library_init
Published: August 20, 2026

---

# do_action( ‘font-library_init’ )

## In this article

 * [Source](https://developer.wordpress.org/reference/hooks/font-library_init/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/font-library_init/?output_format=md#related)

[ Back to top](https://developer.wordpress.org/reference/hooks/font-library_init/?output_format=md#wp--skip-link--target)

Fires when the font-library page is initialized so extensions can register routes
and menu items.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/font-library_init/?output_format=md#source)󠁿

    ```php
    do_action( 'font-library_init' );
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/build/pages/font-library/page.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-includes/build/pages/font-library/page.php#L141)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-includes/build/pages/font-library/page.php#L141-L141)

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/font-library_init/?output_format=md#related)󠁿

| Used by | Description | 
| [wp_font_library_render_page()](https://developer.wordpress.org/reference/functions/wp_font_library_render_page/)`wp-includes/build/pages/font-library/page.php` |

Render the font-library page.

  |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Ffont-library_init%2F)
before being able to contribute a note or feedback.