WC_Helper_Compat::helper_loaded() public WC 1.0
Runs during woocommerce_helper_loaded
{} Это метод класса: WC_Helper_Compat{}
Хуков нет.
Возвращает
Null. Ничего.
Использование
$result = WC_Helper_Compat::helper_loaded();
Код WC_Helper_Compat::helper_loaded() WC Helper Compat::helper loaded WC 4.9.0
public static function helper_loaded() {
// Stop the nagging about WooThemes Updater
remove_action( 'admin_notices', 'woothemes_updater_notice' );
// A placeholder dashboard menu for legacy helper users.
add_action( 'admin_menu', array( __CLASS__, 'admin_menu' ) );
if ( empty( $GLOBALS['woothemes_updater'] ) ) {
return;
}
self::remove_actions();
self::migrate_connection();
self::deactivate_plugin();
}