Automattic\WooCommerce\Internal\Admin\WCPayPromotion

WCPayPromotionDataSourcePoller::get_instance()public staticWC 1.0

Get class instance.

Метод класса: WCPayPromotionDataSourcePoller{}

No Hooks.

Return

null. Nothing.

Usage

$result = WCPayPromotionDataSourcePoller::get_instance();

Code of WCPayPromotionDataSourcePoller::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;
}