WordPress at Your Fingertips
function is not described

WC_Abstract_Order::get_date_created() public WC 1.0

Get date_created.

{} It's a method of the class: WC_Abstract_Order{}

No Hooks.

Return

WC_DateTime|NULL. object if the date is set or null if there is no date.

Usage

$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_date_created( $context );
$context(string)
View or edit context.
Default: 'view'

Code of WC_Abstract_Order::get_date_created() WC 5.9.0

public function get_date_created( $context = 'view' ) {
	return $this->get_prop( 'date_created', $context );
}