Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Exibir campo de CPF nos pedidos do WCFM no painel do vendedor
<?php
add_action( 'wcfm_order_details_after_shipping_address', function( $order ){
$cpf = $order->get_meta( '_billing_cpf' );
?>
<div><strong>CPF:</strong> <?php echo esc_html( $cpf ); ?></div>
<?php
} );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment