Automattic\WooCommerce\Admin\Notes
Note::get_date_created
Get date note was created.
Method of the class: Note{}
No Hooks.
Returns
WC_DateTime|NULL. object if the date is set or null if there is no date.
Usage
$Note = new Note(); $Note->get_date_created( $context );
- $context(string)
- What the value is for. Valid values are
'view'and'edit'.
Default:'view'
Note::get_date_created() Note::get date created code WC 10.5.0
public function get_date_created( $context = 'view' ) {
return $this->get_prop( 'date_created', $context );
}