I'm trying to add an html tag "< p >" below the Billing_Address_2 field. They recommended me to do it with a hook and this is what I tried:
function aviso_rojo() {
echo '<p class="aviso_rojo" style="color:red;float:left;display:none">Hola Mundo</p>';
}
add_action( 'woocommerce_after_billing_address_2_field', 'aviso_rojo' );
What should happen is that you add a red p-label under the address field, but it does not show any results. Is there a method other than using hooks to put a label on the checkout page? And if not, what's wrong with my code?