diff --git a/lib/WooCommerce/Subscription.php b/lib/WooCommerce/Subscription.php index 8fb2c2df9e..9ae820a850 100644 --- a/lib/WooCommerce/Subscription.php +++ b/lib/WooCommerce/Subscription.php @@ -82,6 +82,8 @@ class Subscription { [ 'type' => 'checkbox', 'label' => $this->wp->escHtml($labelString), + 'input_class' => ['woocommerce-form__input', 'woocommerce-form__input-checkbox', 'input-checkbox'], + 'label_class' => ['woocommerce-form__label', 'woocommerce-form__label-for-checkbox', 'checkbox'], 'custom_attributes' => ['data-automation-id' => 'woo-commerce-subscription-opt-in'], 'return' => true, ],