GC_Block_Styles_Registry::get_instance()

最后更新于:2021-11-26 10:36:27

GC_Block_Styles_Registry::get_instance()

Utility method to retrieve the main instance of the class.

响应

(GC_Block_Styles_Registry) The main instance.

源文件

文件: gc-includes/class-gc-block-styles-registry.php

	public static function get_instance() {
		if ( null === self::$instance ) {
			self::$instance = new self();
		}

		return self::$instance;
	}