Core Function
View Source on Trac ↗ wp_unregister_font_collection()
wp_unregister_font_collection( string $slug ) Unregisters a font collection from the Font Library.
Parameters 1 required
| Name / Type | Description |
|---|---|
| $slug string | Font collection slug. Required |
Return Value
(bool)
True if the font collection was unregistered successfully, else false.
Function Information
Since Version
6.5.0
Source File
wp-includes/fonts.php
Advertisement