Looking for custom code to show Additional Bank related detail on WooCommerce Thank you page while Payment Method – BACS (Online Bank Transfer).
By using below code you able to show Mobile Number on Thank you page while your user selected payment method – Online Bank Transfer
add_filter( 'woocommerce_bacs_account_fields', 'wdo_mono_field_bacs_account_field', 10, 2); function wdo_mono_field_bacs_account_field( $account_fields, $order_id ) { $account_fields['mono' ] = array( 'label' => 'Mobile Number', 'value' => '09737971210' ); return $account_fields; }