title: Woocommerce - Allowing Order Again for different statuses
body: <p>I'm looking to allow the <code>Order Again</code> functionality to all statuses. By default WooCommerce only allows orders with a status of COMPLETED this functionality. It seems to be a two step process as the first step requires the button being shown to the user, this is completed by editing this file:</p>
  
  <p><code>wc-template-functions.php</code></p>
  
  <p>With this snippit of code:</p>
  
  <pre><code>function woocommerce_order_again_button( $order ) {
          //if ( ! $order || ! $order-&gt;has_status( 'completed' ) || ! is_user_logged_in() ) {
          // Allow 'Order Again' at all times.
          if ( ! $order || ! is_user_logged_in() ) {
              return;
          }
  
          wc_get_template( 'order/order-again.php', array(
              'order' =&gt; $order
          ) );
      }
  </code></pre>
  
  <p>By commenting out the validation of the <code>$order-&gt;has_status()</code> method, I'm able to show the button on the page. However, when trying clicking the Order Again button, it still does a check before adding the items to the cart.</p>
  
  <p>Can anyone tell me where this code is stored to do a preliminary check on the <code>$order-&gt;has_status()</code>?</p>