I somehow cannot figure out how to show the bank account owner after a customer has made a purchase and the thankyou.php page is shown (under the section "Our bank details"). The only bank fields, which are shown here are:

  • Account number
  • Bank name
  • Sort code
  • IBAN
  • BIC / Swift

Does anyone know how to do this?


I solved that by adding the desired field with the help of a filter:

function my_bacs_fields( $fields ) {
  $bank_account_owner = array( "label" => "Account owner", "value" => "My Company" );
  array_unshift( $fields, $bank_account_owner );
  return $fields;
add_filter( 'woocommerce_bacs_account_fields', 'my_bacs_fields' );

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.