mirror of
https://gh.wpcy.net/https://github.com/mainwp/Code-Snippets-Functions.git
synced 2026-04-29 11:32:21 +08:00
6 lines
241 B
Text
6 lines
241 B
Text
add_filter( 'woocommerce_checkout_fields', 'wc_disable_autocomplete_checkout_fields' );
|
|
|
|
function wc_disable_autocomplete_checkout_fields( $fields ) {
|
|
$fields['billing']['billing_phone']['autocomplete'] = false;
|
|
return $fields;
|
|
}
|