wc_get_product_backorder_options()
Get backorder options.
Description Description
Return Return
(array)
Source Source
File: includes/wc-product-functions.php
function wc_get_product_backorder_options() {
return array(
'no' => __( 'Do not allow', 'woocommerce' ),
'notify' => __( 'Allow, but notify customer', 'woocommerce' ),
'yes' => __( 'Allow', 'woocommerce' ),
);
}
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |