WC_Plugin_Api_Updater::loadpublic staticWC 1.0

Loads the class, runs on init.

Method of the class: WC_Plugin_Api_Updater{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = WC_Plugin_Api_Updater::load();

WC_Plugin_Api_Updater::load() code WC 10.7.0

public static function load() {
	add_filter( 'plugins_api', array( __CLASS__, 'plugins_api' ), 20, 3 );
	add_filter( 'themes_api', array( __CLASS__, 'themes_api' ), 20, 3 );
}