RemoteInboxNotificationsEngine::run()
Go through the specs and run them.
Description #Description
Source #Source
File: packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
Related #Related
Uses #Uses
Uses | Description |
---|---|
packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php: RemoteInboxNotificationsEngine::get_stored_state() |
Gets the stored state option, and does the initial set up if it doesn’t already exist. |
packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php: RemoteInboxNotificationsEngine::run() |
Go through the specs and run them. |
packages/woocommerce-admin/src/RemoteInboxNotifications/DataSourcePoller.php: DataSourcePoller::read_specs_from_data_sources() |
Reads the data sources for specs and persists those specs. |
packages/woocommerce-admin/src/RemoteInboxNotifications/SpecRunner.php: SpecRunner::run_spec() |
Run the spec. |
Used By #Used By
Used By | Description |
---|---|
packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php: 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. |
packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php: RemoteInboxNotificationsEngine::run_on_deactivated_plugin() |
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. |
packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php: RemoteInboxNotificationsEngine::update_profile_option() |
This is triggered when the profile option is updated and if the profiler is being completed, triggers a run of the engine. |
packages/woocommerce-admin/src/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php: RemoteInboxNotificationsEngine::run() |
Go through the specs and run them. |
packages/woocommerce-admin/src/RemoteInboxNotifications/StoredStateSetupForProducts.php: StoredStateSetupForProducts::run_on_product_importer() |
Runs on product importer steps. |
packages/woocommerce-admin/src/RemoteInboxNotifications/StoredStateSetupForProducts.php: StoredStateSetupForProducts::run_on_transition_post_status() |
Runs when a post status transitions, but we’re only interested if it is a product being published. |
packages/woocommerce-admin/src/Events.php: Events::do_wc_admin_daily() |
Daily events to run. |