Automattic\WooCommerce\Internal\Fulfillments
FulfillmentUtils::get_fulfillment_statuses
Get the fulfillment statuses.
This method provides the fulfillment statuses that can be used in the WooCommerce Fulfillments system. It can be filtered using the woocommerce_fulfillment_fulfillment_statuses
Method of the class: FulfillmentUtils{}
Hooks from the method
Returns
Array. An associative array of fulfillment statuses.
Usage
$result = FulfillmentUtils::get_fulfillment_statuses(): array;
FulfillmentUtils::get_fulfillment_statuses() FulfillmentUtils::get fulfillment statuses code WC 10.3.3
public static function get_fulfillment_statuses(): array {
/**
* This filter allows plugins to modify the list of fulfillment statuses.
* It can be used to add, remove, or change the fulfillment statuses available in the
* WooCommerce Fulfillments system.
*
* @since 10.1.0
*
* @param array $fulfillment_statuses The default list of fulfillment statuses.
*/
return apply_filters(
'woocommerce_fulfillment_fulfillment_statuses',
self::get_default_fulfillment_statuses()
);
}