diff --git a/plugins/woocommerce-blocks/src/Package.php b/plugins/woocommerce-blocks/src/Package.php index 6637c31dbb0..15dcf3a0c5b 100644 --- a/plugins/woocommerce-blocks/src/Package.php +++ b/plugins/woocommerce-blocks/src/Package.php @@ -72,7 +72,7 @@ class Package { * @return boolean */ protected static function has_dependencies() { - return class_exists( 'WooCommerce' ); + return class_exists( 'WooCommerce' ) && function_exists( 'register_block_type' ); } /**