Automattic\WooCommerce\Admin\RemoteInboxNotifications
RemoteInboxNotificationsEngine::run()
Go through the specs and run them.
Метод класса: RemoteInboxNotificationsEngine{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$result = RemoteInboxNotificationsEngine::run();
Код RemoteInboxNotificationsEngine::run() RemoteInboxNotificationsEngine::run WC 7.3.0
public static function run() { $specs = DataSourcePoller::get_instance()->get_specs_from_data_sources(); if ( $specs === false || count( $specs ) === 0 ) { return; } $stored_state = self::get_stored_state(); foreach ( $specs as $spec ) { SpecRunner::run_spec( $spec, $stored_state ); } }