WC_Customer::set_date_modified()
Set the date this customer was last updated.
Method of the class: WC_Customer{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WC_Customer = new WC_Customer(); $WC_Customer->set_date_modified( $date );
- $date(string|int|null)
- UTC timestamp, or ISO 8601 DateTime. If the DateTime string has no timezone or offset, WordPress site timezone will be assumed. Null if their is no date.
Default: null
Changelog
Since 3.0.0 | Introduced. |
WC_Customer::set_date_modified() WC Customer::set date modified code WC 9.4.2
public function set_date_modified( $date = null ) { $this->set_date_prop( 'date_modified', $date ); }