wp_unregister_font_collection()
Unregisters a font collection from the Font Library.
Хуков нет.
Возвращает
true|false. True if the font collection was unregistered successfully, else false.
Использование
wp_unregister_font_collection( $slug );
- $slug(строка) (обязательный)
- Font collection slug.
Список изменений
| С версии 6.5.0 | Введена. |
Код wp_unregister_font_collection() wp unregister font collection WP 6.9.1
function wp_unregister_font_collection( string $slug ) {
return WP_Font_Library::get_instance()->unregister_font_collection( $slug );
}