title: WooCommerce change order status BACS processing
body: <p>In WooCommerce any order placed with the BACS (direct bank transfer) is set to <strong><code>"on-hold"</code></strong>.</p>
  
  <p>How would one go about changing this automatically to processing?</p>
  
  <p>I wan't it to work inside the <strong><code>functions.php</code></strong> </p>
  
  <p>I have the following code but that doesn't work:</p>
  
  <pre><code>add_filter( 'woocommerce_payment_complete_order_status', 'rfvc_update_order_status', 10, 2 );
  
  function rfvc_update_order_status( $order_status, $order_id ) {
      $order = new WC_Order( $order_id );
      if ( 'on-hold' == $order_status &amp;&amp; 'on-hold' == $order-&gt;status ) {
          return 'processing';
      }
      return $order_status;
  }
  </code></pre>
  
  <p>Any help would be great!</p>