Send product object to woocommerce_stock_html filter. Closes #6016