Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // WooCommerce - Disable autocomplete for logged-in users
- add_filter( 'woocommerce_checkout_fields', 'custom_checkout_fields', 99 );
- function custom_checkout_fields( $fields ) {
- $fields['billing']['billing_first_name']['autocomplete'] = ' ';
- // repeat for other fields where required
- return $fields;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement