WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

DataSourcePoller::get_instance() public WC 1.0

Get class instance.

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

No Hooks.

Return

null. Nothing.

Usage

$result = DataSourcePoller::get_instance();

Code of DataSourcePoller::get_instance() WC 6.1.1

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