GC_Block_Type_Registry::get_instance()
最后更新于:2021-11-26 11:16:08
GC_Block_Type_Registry::get_instance()Utility method to retrieve the main instance of the class.
响应
(GC_Block_Type_Registry) The main instance.
源文件
文件: gc-includes/class-gc-block-type-registry.php
public static function get_instance() {
if ( null === self::$instance ) {
self::$instance = new self();
}
return self::$instance;
}