Change OTP Button Label on Checkout Page

This filter allows you to customize the text of the “Get OTP” button displayed below the Billing Email field on the WooCommerce Checkout page.

/**
 * Change the "Get OTP" button text on checkout
 */
add_filter( 'cev_get_otp_button_text', 'my_custom_otp_button_text' );

function my_custom_otp_button_text( $text ) {
    return 'Send Verification Code'; // Replace with your desired text
}

Parameters

  • $text (string)
  • The default button text:
    Default: __( 'Get OTP', 'customer-email-verification' )

Notes

  • This button appears only on the Checkout page, directly below the Billing Email field.
  • The text is translation-ready using the customer-email-verification text domain.
  • Use this filter if you want to override the text programmatically, instead of editing translations.

$119.00

Billed annually

Buy Now