WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Domain\Services

DraftOrders::append_draft_order_post_status() public WC 1.0

Append draft status to a list of statuses.

{} It's a method of the class: DraftOrders{}

No Hooks.

Return

Array.

Usage

$DraftOrders = new DraftOrders();
$DraftOrders->append_draft_order_post_status( $statuses );
$statuses(array) (required)
Array of statuses.

Code of DraftOrders::append_draft_order_post_status() WC 5.7.1

public function append_draft_order_post_status( $statuses ) {
	$statuses[] = self::STATUS;
	return $statuses;
}