title: Add a custom stock status in WooCommerce
body: <p>I would like to add a new option to the dropdown list of stocks options for a product. By default, there is "Out of stock", "In stock" and I would like to add a third option.</p>
  
  <p>I found the method that displays the dropdown ( in class-wc-meta-box-product-data.php ) </p>
  
  <pre><code>    // Stock status
      woocommerce_wp_select( array( 'id' =&gt; '_stock_status', 'wrapper_class' =&gt; 'hide_if_variable', 'label' =&gt; __( 'Stock status', 'woocommerce' ), 'options' =&gt; array(
          'instock' =&gt; __( 'In stock', 'woocommerce' ),
          'outofstock' =&gt; __( 'Out of stock', 'woocommerce' )
      ), 'desc_tip' =&gt; true, 'description' =&gt; __( 'Controls whether or not the product is listed as "in stock" or "out of stock" on the frontend.', 'woocommerce' ) ) );
  
      do_action( 'woocommerce_product_options_stock_status' );
  </code></pre>
  
  <p>But I don't want to edit Woocommerce class directly, so that we can update Woocommerce without losing any custom code. Is there a way to override this method ? </p>