GC_Block_Patterns_Registry::get_instance()

最后更新于:2021-11-26 10:10:09

GC_Block_Patterns_Registry::get_instance()

Utility method to retrieve the main instance of the class.

响应

(GC_Block_Patterns_Registry) The main instance.

源文件

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

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

		return self::$instance;
	}