WC_Admin_List_Table_Coupons::render_expiry_date_column()protectedWC 1.0

Render column: expiry_date.

Method of the class: WC_Admin_List_Table_Coupons{}

No Hooks.

Return

null. Nothing (null).

Usage

// protected - for code of main (parent) or child class
$result = $this->render_expiry_date_column();

WC_Admin_List_Table_Coupons::render_expiry_date_column() code WC 9.4.2

protected function render_expiry_date_column() {
	$expiry_date = $this->object->get_date_expires();

	if ( $expiry_date ) {
		echo esc_html( $expiry_date->date_i18n( 'F j, Y' ) );
	} else {
		echo '–';
	}
}