WC_Product::set_date_modified( string|integer|null $date = null )
Set product modified date.
Description Description
Parameters Parameters
- $date
-
(Optional) 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 value: null
Source Source
File: includes/abstracts/abstract-wc-product.php
public function set_date_modified( $date = null ) { $this->set_date_prop( 'date_modified', $date ); }
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |