Title: Request PHP Codes Customisation for OTP
Last modified: May 31, 2022

---

# Request PHP Codes Customisation for OTP

 *  [Xyzso](https://wordpress.org/support/users/wonglotr/)
 * (@wonglotr)
 * [4 years ago](https://wordpress.org/support/topic/request-php-codes-customisation-for-otp/)
 * HI ,
 * We have purchased the Woocommerce 2FA for OTP plugin from this marketplace platform
   at [https://codecanyon.net/item/woocommerce-two-factor-authentication/30902918](https://codecanyon.net/item/woocommerce-two-factor-authentication/30902918)
 * It is only working to the NATIVE WORDPRESS AND WOOCOMMERCE LOGIN PAGE.
    It did
   not apply to our custom WordPress Theme Member Login page.
 * We were trying to copy and paste the WHOLE PHP CODES FROM THE .php files into
   our backend of WordPress Theme Member Login Page, but it was NOT working. Native
   OTP PHP codes are showing below.
 * ——PHP Codes—–
 *     ```
       <?php  
       /* Version: 1.0 */ 
       ?>
       <div class="user-pass-wrap">
       	<label for="user_pass"><?php echo sanitize_text_field(wctfa_get_value_if_set($texts , array('login_area', 'label', $lang), esc_html__('OTP','woocommerce-two-factor-auth'))); ?>&nbsp;<span class="required">*</span></label>
       	<div class="wp-pwd">
       		<input class="woocommerce-Input woocommerce-Input--text input-text" type="text" name="otp" id="otp" disabled="disabled" required="required" ></input>
       	</div>
       </div>
       <p class="wp-otp-actions-container">
       	<button class="button button-primary button-large wctfa-send-button" data-security="<?php echo wp_create_nonce('wctfa_otp_request'); ?>"><?php echo sanitize_text_field(wctfa_get_value_if_set($texts , array('login_area', 'send_button', $lang), esc_html__('Send OTP','woocommerce-two-factor-auth')));; ?></button>
       	<img class="wctfa-loader" src="<?php echo WCTFA_PLUGIN_PATH; ?>/img/ajax-loader.gif"></img>
       	<span class="wtfa-wp-result-message"></span>
       </p>
       ```
   
 * ——END——
 * ANYONE KNOW HOW TO CUSTOMISE THE ABOVE OTP CODES ?

The topic ‘Request PHP Codes Customisation for OTP’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/otp-login_f6d5d2.svg)
 * [Login with OTP](https://wordpress.org/plugins/otp-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/otp-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/otp-login/)
 * [Active Topics](https://wordpress.org/support/plugin/otp-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/otp-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/otp-login/reviews/)

## Tags

 * [customise](https://wordpress.org/support/topic-tag/customise/)
 * [OTP](https://wordpress.org/support/topic-tag/otp/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [Xyzso](https://wordpress.org/support/users/wonglotr/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/request-php-codes-customisation-for-otp/)
 * Status: not resolved