diff --git a/plugins/woocommerce-admin/src/Install.php b/plugins/woocommerce-admin/src/Install.php index 7977f4347fb..630d61b019f 100644 --- a/plugins/woocommerce-admin/src/Install.php +++ b/plugins/woocommerce-admin/src/Install.php @@ -62,7 +62,7 @@ class Install { * Hook in tabs. */ public static function init() { - add_action( 'admin_init', array( __CLASS__, 'check_version' ), 5 ); + add_action( 'init', array( __CLASS__, 'check_version' ), 5 ); add_filter( 'wpmu_drop_tables', array( __CLASS__, 'wpmu_drop_tables' ) ); // Add wc-admin report tables to list of WooCommerce tables.