Automattic\WooCommerce\Internal\Fulfillments
Fulfillment::set_date_fulfilled
Set the date the fulfillment was fulfilled.
Method of the class: Fulfillment{}
No Hooks.
Returns
null. Nothing (null).
Usage
$Fulfillment = new Fulfillment(); $Fulfillment->set_date_fulfilled( $date_fulfilled ): void;
- $date_fulfilled(string) (required)
- Date fulfilled.
Fulfillment::set_date_fulfilled() Fulfillment::set date fulfilled code WC 10.3.3
public function set_date_fulfilled( string $date_fulfilled ): void {
$this->add_meta_data( '_date_fulfilled', $date_fulfilled, true );
}