[teste_creditos]
add_action('wp', function() {
if (is_checkout()) {
echo "<pre>";
print_r(WC()->checkout->get_checkout_fields());
echo "</pre>";
}
});
[teste_creditos]
add_action('wp', function() {
if (is_checkout()) {
echo "<pre>";
print_r(WC()->checkout->get_checkout_fields());
echo "</pre>";
}
});