wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_unregister_font_collection › WordPress Function

Since6.5.0
已弃用n/a
wp_unregister_font_collection ( $slug )
参数:
  • (string) $slug Font collection slug.
    Required: Yes
返回:
  • (bool) True if the font collection was unregistered successfully, else false.
定义在:
文档:

Unregisters a font collection from the Font Library.



源码

function wp_unregister_font_collection( string $slug ) {
	return WP_Font_Library::get_instance()->unregister_font_collection( $slug );
}