WC_Abstract_Order::set_date_modified()publicWC 1.0

Set date_modified.

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

No Hooks.


null. Nothing.


$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->set_date_modified( $date );
UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed. Null if there is no date.
Default: null

Code of WC_Abstract_Order::set_date_modified() WC 6.9.4

public function set_date_modified( $date = null ) {
	$this->set_date_prop( 'date_modified', $date );