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