Automattic\WooCommerce\Admin\RemoteInboxNotifications
RemoteInboxNotificationsEngine::run_on_woocommerce_admin_updated()
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
. Ничего (null).
Использование
$result = RemoteInboxNotificationsEngine::run_on_woocommerce_admin_updated();
Код RemoteInboxNotificationsEngine::run_on_woocommerce_admin_updated() RemoteInboxNotificationsEngine::run on woocommerce admin updated WC 9.7.1
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 ); }