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
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'))); ?> <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.