Lines:
1 to 33 of 33
<?php /** * The update helper for WooCommerce.com plugins. * * @class WC_Helper_Updater * @package WooCommerce\Admin\Helper */ if ( ! defined( 'ABSPATH' ) ) { exit; } /* class WC_Helper_Updater */ /* function WC_Helper_Updater::load() – Loads the class, runs on init. */ /* function WC_Helper_Updater::transient_update_plugins() – Runs in a cron thread, or in a visitor thread if triggered by _maybe_update_plugins(), or in an auto-update thread. */ /* function WC_Helper_Updater::transient_update_themes() – Runs on pre_set_site_transient_update_themes, provides custom packages for WooCommerce.com-hosted extensions. */ /* function WC_Helper_Updater::get_update_data() – Get update data for all extensions. */ /* function WC_Helper_Updater::get_translations_update_data() – Get translations updates informations. */ /* function WC_Helper_Updater::_update_check() – Run an update check API call. */ /* function WC_Helper_Updater::_has_active_subscription() – Check for an active subscription. */ /* function WC_Helper_Updater::get_updates_count() – Get the number of products that have updates. */ /* function WC_Helper_Updater::get_updates_count_html() – Return the updates count markup. */ /* function WC_Helper_Updater::flush_updates_cache() – Flushes cached update data. */ /* function WC_Helper_Updater::upgrader_process_complete() – Fires when a user successfully updated a theme or a plugin. */ /* function WC_Helper_Updater::block_expired_updates() – Hooked into the upgrader_pre_download filter in order to better handle error messaging around expired plugin updates. Initially we were using an empty string, but the error message that no_package results in does not fit the cause. */ WC_Helper_Updater::load();