Automattic\WooCommerce\Internal\Admin\RemoteFreeExtensions

RemoteFreeExtensionsDataSourcePoller::get_instance()public staticWC 1.0

Get class instance.

{} It's a method of the class: RemoteFreeExtensionsDataSourcePoller{}

No Hooks.

Return

null. Nothing.

Usage

$result = RemoteFreeExtensionsDataSourcePoller::get_instance();

Code of RemoteFreeExtensionsDataSourcePoller::get_instance() WC 6.6.1

public static function get_instance() {
	if ( ! self::$instance ) {
		self::$instance = new self(
			self::ID,
			self::DATA_SOURCES,
			array(
				'spec_key' => 'key',
			)
		);
	}
	return self::$instance;
}