WC_Admin_List_Table_Coupons::render_expiry_date_column()protectedWC 1.0

Render column: expiry_date.

Метод класса: WC_Admin_List_Table_Coupons{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->render_expiry_date_column();

Код WC_Admin_List_Table_Coupons::render_expiry_date_column() WC 8.7.0

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 '–';
	}
}