-
-
Save fernandoacosta/b2177a97b4325a918059c995cf5c730a to your computer and use it in GitHub Desktop.
Adicionar CPF aos dados para depósito no WooCommerce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'woocommerce_bacs_account_fields', 'fa_woocommerce_bacs_account_fields' ); | |
function fa_woocommerce_bacs_account_fields( $fields ) { | |
$fields['cpf'] = array( | |
'label' => 'CPF', | |
'value' => 'xxx.xxx.xxx-xx', | |
); | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment