WC_Helper_Updater::load()public staticWC 1.0

Loads the class, runs on init.

{} It's a method of the class: WC_Helper_Updater{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Helper_Updater::load();

Code of WC_Helper_Updater::load() WC 6.6.1

public static function load() {
	add_action( 'pre_set_site_transient_update_plugins', array( __CLASS__, 'transient_update_plugins' ), 21, 1 );
	add_action( 'pre_set_site_transient_update_themes', array( __CLASS__, 'transient_update_themes' ), 21, 1 );
	add_action( 'upgrader_process_complete', array( __CLASS__, 'upgrader_process_complete' ) );
	add_action( 'upgrader_pre_download', array( __CLASS__, 'block_expired_updates' ), 10, 2 );
}