WordPress at Your Fingertips
function is not described

WC_Webhook::get_date_created() public WC 3.2.0

Get webhook created date.

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

No Hooks.

Return

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

Usage

$WC_Webhook = new WC_Webhook();
$WC_Webhook->get_date_created( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Changelog

Since 3.2.0 Introduced.

Code of WC_Webhook::get_date_created() WC 5.9.0

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