WC_Product::set_date_modified( string|integer|null $date = null )

Set product modified date.

Description Description

Parameters Parameters


(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

Top ↑

Source Source

File: includes/abstracts/abstract-wc-product.php

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

Top ↑

Changelog Changelog

Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.