Automattic\WooCommerce\Admin\RemoteInboxNotifications
RemoteInboxNotificationsDataSourcePoller::get_instance
Get class instance.
Method of the class: RemoteInboxNotificationsDataSourcePoller{}
No Hooks.
Returns
null. Nothing (null).
Usage
$result = RemoteInboxNotificationsDataSourcePoller::get_instance();
RemoteInboxNotificationsDataSourcePoller::get_instance() RemoteInboxNotificationsDataSourcePoller::get instance code WC 10.6.2
public static function get_instance() {
if ( ! self::$instance ) {
self::$instance = new self(
self::ID,
self::get_data_sources(),
array(
'spec_key' => 'slug',
)
);
}
return self::$instance;
}