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.


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


$WC_Abstract_Order = new WC_Abstract_Order();
$WC_Abstract_Order->get_date_created( $context );
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 );