Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions

PaymentGatewaySuggestionsDataSourcePoller::get_instance()public staticWC 1.0

Get class instance.

{} Это метод класса: PaymentGatewaySuggestionsDataSourcePoller{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$result = PaymentGatewaySuggestionsDataSourcePoller::get_instance();

Код PaymentGatewaySuggestionsDataSourcePoller::get_instance() WC 7.1.0

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