Automattic\WooCommerce\Admin\RemoteInboxNotifications

RemoteInboxNotificationsEngine::run_on_woocommerce_admin_updated()public staticWC 1.0

Set an option indicating that WooCommerce Admin has just been updated, run the specs, then clear that option. This lets the WooCommerceAdminUpdatedRuleProcessor trigger on WCA update.

Метод класса: RemoteInboxNotificationsEngine{}

Хуков нет.

Возвращает

null. Ничего.

Использование

$result = RemoteInboxNotificationsEngine::run_on_woocommerce_admin_updated();

Код RemoteInboxNotificationsEngine::run_on_woocommerce_admin_updated() WC 7.3.0

public static function run_on_woocommerce_admin_updated() {
	update_option( self::WCA_UPDATED_OPTION_NAME, true, false );

	self::run();

	update_option( self::WCA_UPDATED_OPTION_NAME, false, false );
}