Yes, below code should do it.
add_filter( 'woocommerce_form_field' , 'so_27270883_woocommerce_form_field', 10, 2 );
function so_27270883_woocommerce_form_field( $field, $key) {
if ( is_checkout() ) {
if ($key == 'billing_email') {
$field .= '<p class="form-row">CUSTOM TEXT HERE</p>';
}
}
return $field;
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.