Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jjmontalban/5e800598aebfbd00fb31b0061867c078 to your computer and use it in GitHub Desktop.
Save jjmontalban/5e800598aebfbd00fb31b0061867c078 to your computer and use it in GitHub Desktop.
Añadir texto antes del checkout en el billing form
/**
* @snippet Añadir texto antes del checkout billing form
* @author JJMontalban
*/
add_action( 'woocommerce_before_checkout_shipping_form', 'titulo_datos_envio', 11 );
function titulo_datos_envio() {
wc_print_notice( '<h3>¿Quién recibirá el pedido?</h3>' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment