title: How to override class-wc-gateway-bacs.php file in Woocommerce
body: <p>I have a problem regarding overriding the file in woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php </p>
  
  <p>I have edited this file and added some other fields and changed placement order. I have tried the following locations in an attempt to use my version:</p>
  
  <ul>
  <li>mytheme/woocommerce/includes/gateways/bacs/class-wc-gateway-bacs.php </li>
  <li>mytheme/woocommerce/includes/gateways/class-wc-gateway-bacs.php </li>
  <li>mytheme/woocommerce/includes/bacs/class-wc-gateway-bacs.php </li>
  </ul>
  
  <p>None of the above locations worked. In my previous job I successfully overrode some of the files in woo-commerce by placing overloads within the /templates/ folder to do the trick but this time it is more complicated.</p>
  
  <p>I didn't want to replace the original file to prevent my custom edits being overwritten when the plugin is updated.</p>
  
  <p>Is there's a way to override it? </p>