Method: 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.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:109
Method: Gets the stored state option, and does the initial set up if it doesn’t already exist.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:123
Method: The deactivated_plugin hook happens before the option is updated (https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/plugin.php#L826) so this captures the deactivated plugin path and pushes it into the PluginsProvider.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:147
Method: Update the stored state option.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:157
Class: Remote Inbox Notifications engine.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:19
Method: Initialize the engine.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:27
Method: This is triggered when the profile option is updated and if the profiler is being completed, triggers a run of the engine.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:51
Method: Init is continued via admin_init so that WC is loaded when the product query is used, otherwise the query generates a “0 = 1” in the WHERE condition and thus doesn’t return any results.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:69
Method: Go through the specs and run them.
Source: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php:85