Need help with code to remove autocomplete in checkout
-
What I have: WP 3.8.1, Mystile theme and WC 2.1.2
I need assistance if figuring out a function to disable the autocomplete/auto fill of the checkout form. This is the code I found that I believe needs the function/action added to my custom functions.php
16 class WC_Form_Handler { 17 18 /** 19 * Constructor 20 */ 21 public function __construct() { 22 add_action( 'template_redirect', array( $this, 'save_address' ) ); 23 add_action( 'template_redirect', array( $this, 'save_account_details' ) );
I don’t use accounts on my site so that wouldn’t apply for me. The first one to save address is the one I believe needs to be used. Am I correct? And can any code savvy person out there help with stopping the save address in the checkout fields? Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Need help with code to remove autocomplete in checkout’ is closed to new replies.