' ) ) { $update_available = true; } $download_url = $subscription['product_url']; if ( ! $installed && ! empty( $updates[ $product_id ]['package'] ) ) { $download_url = $updates[ $product_id ]['package']; } $classes = array( 'color-bar' => true, 'expired' => $subscription['expired'], 'expiring' => $subscription['expiring'], 'update-available' => $update_available, 'autorenews' => $subscription['autorenew'], ); $classes = array_filter( $classes, function( $i ) { return (bool) $i; } ); $classes = array_keys( $classes ); ?> 0 && $subscription['sites_active'] >= $subscription['sites_max'] ) : ?>

0 ) { /* translators: %1$d: sites active, %2$d max sites active */ printf( __( 'Subscription: Using %1$d of %2$d sites available', 'woocommerce' ), $subscription['sites_active'], $subscription['sites_max'] ); } else { _e( 'Subscription: Unlimited', 'woocommerce' ); } ?>

available.', 'woocommerce' ), esc_html( $updates[ $product_id ]['version'] ) ); ?> activate this subscription.', 'woocommerce' ); ?>

available.', 'woocommerce' ), esc_html( $updates[ $product_id ]['version'] ) ); ?> purchase a new subscription.', 'woocommerce' ); ?>

expiring soon.', 'woocommerce' ); ?>

maximum number of sites available with your current subscription.', 'woocommerce' ); ?>

Below is a list of WooCommerce.com products available on your site - but are either out-dated or do not have a valid subscription.

$data ) : ?> ' ) ) { $update_available = true; } $product_url = '#'; if ( ! empty( $updates[ $product_id ]['url'] ) ) { $product_url = $updates[ $product_id ]['url']; } elseif ( ! empty( $data['PluginURI'] ) ) { $product_url = $data['PluginURI']; } ?>

purchase a new subscription.', 'woocommerce' ), esc_html( $updates[ $product_id ]['version'] ) ); ?>