Automattic\WooCommerce\Admin\Notes
Note::get_date_created()
Get date note was created.
Method of the class: Note{}
No Hooks.
Return
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 9.7.1
public function get_date_created( $context = 'view' ) { return $this->get_prop( 'date_created', $context ); }