Automattic\WooCommerce\Admin\Notes
Note::set_date_reminder()
Set date admin should be reminded of note. NULL IS allowed
Method of the class: Note{}
No Hooks.
Return
null
. Nothing (null).
Usage
$Note = new Note(); $Note->set_date_reminder( $date );
- $date(string|int|null) (required)
- 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.
Note::set_date_reminder() Note::set date reminder code WC 9.7.1
public function set_date_reminder( $date ) { if ( is_string( $date ) && ! is_numeric( $date ) ) { $date = wc_string_to_timestamp( $date ); } $this->set_date_prop( 'date_reminder', $date ); }