WC_Admin_List_Table_Coupons::render_usage_limit_column()protectedWC 1.0

Render column: usage_limit.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Admin_List_Table_Coupons::render_usage_limit_column() WC 6.7.0

protected function render_usage_limit_column() {
	$usage_limit = $this->object->get_usage_limit();

	if ( $usage_limit ) {
		echo esc_html( $usage_limit );
	} else {
		echo '–';
	}
}