WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

RemoteInboxNotificationsEngine::run() public WC 1.0

Go through the specs and run them.

{} It's a method of the class: RemoteInboxNotificationsEngine{}

No Hooks.

Return

null. Nothing.

Usage

$result = RemoteInboxNotificationsEngine::run();

Code of RemoteInboxNotificationsEngine::run() WC 5.2.2

<?php
public static function run() {
	$specs = get_option( self::SPECS_OPTION_NAME );

	if ( false === $specs || 0 === count( $specs ) ) {
		// We are running too early, need to poll data sources first.
		if ( DataSourcePoller::read_specs_from_data_sources() ) {
			self::run();
		}

		return;
	}

	$stored_state = self::get_stored_state();

	foreach ( $specs as $spec ) {
		SpecRunner::run_spec( $spec, $stored_state );
	}
}