I have solution if anyone would be interested:
add_filter( 'woocommerce_bacs_account_fields', 'custom_bacs_account_field', 10, 2);
function custom_bacs_account_field( $account_fields, $order_id ) {
$order = wc_get_order( $order_id );
$account_fields['variable_symbol' ] = array(
'label' => 'NAME FOR THE LABEL GOES HERE',
'value' => $order->get_order_number()
);
return $account_fields;
}
i am not author of this code.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…