Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 6 years ago.
Improve this questionIn woocommerce I register a custom billing field to can track the house number separately
function addCheckoutHouseNrField($fields)
{
$fields['billing_house_nr'] = array(
'label' => __('Hausnummer'),
'type' => 'text',
'class' => array('form-row-wide'),
'priority' => 35,
'required' => true,
);
return $fields;
}
add_filter('woocommerce_billing_fields', 'addCheckoutHouseNrField');
which works fine. But how do I display this field after address_1 in emails and backend order details