Automattic\WooCommerce\Admin\RemoteInboxNotifications

RemoteInboxNotificationsDataSourcePoller::get_data_sources()public staticWC 1.0

Get data sources.

Method of the class: RemoteInboxNotificationsDataSourcePoller{}

No Hooks.

Return

Array.

Usage

$result = RemoteInboxNotificationsDataSourcePoller::get_data_sources();

RemoteInboxNotificationsDataSourcePoller::get_data_sources() code WC 9.6.1

public static function get_data_sources() {
	return array(
		WC_Helper::get_woocommerce_com_base_url() . 'wp-json/wccom/inbox-notifications/2.0/notifications.json',
	);
}