WordPress at a glance
function is not described

wc_get_product_stock_status_options() WC 3.0.0

Get stock status options.

Return

Array.

Usage

wc_get_product_stock_status_options();

Changelog

Since 3.0.0 Introduced.

Code of wc_get_product_stock_status_options() WC 5.0.0

<?php
function wc_get_product_stock_status_options() {
	return apply_filters(
		'woocommerce_product_stock_status_options',
		array(
			'instock'     => __( 'In stock', 'woocommerce' ),
			'outofstock'  => __( 'Out of stock', 'woocommerce' ),
			'onbackorder' => __( 'On backorder', 'woocommerce' ),
		)
	);
}