Automattic\WooCommerce\Admin\Features\Fulfillments

Fulfillment::set_date_deletedpublicWC 10.1.0

Set the date deleted. Input is normalized to UTC.

Method of the class: Fulfillment{}

No Hooks.

Returns

null. Nothing (null).

Usage

$Fulfillment = new Fulfillment();
$Fulfillment->set_date_deleted( ?string $date_deleted ): void;
?string $date_deleted(required)
.

Changelog

Since 10.1.0 Introduced.
Since 10.8.0 Input is normalized to UTC before storage.

Fulfillment::set_date_deleted() code WC 10.9.1

public function set_date_deleted( ?string $date_deleted ): void {
	$this->set_prop( 'date_deleted', $this->normalize_date_to_utc( $date_deleted ) );
}