WC_Admin_List_Table_Coupons::render_coupon_code_column()protectedWC 1.0

Render column: coupon_code.

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_coupon_code_column();

WC_Admin_List_Table_Coupons::render_coupon_code_column() code WC 8.6.1

protected function render_coupon_code_column() {
	global $post;

	$edit_link = get_edit_post_link( $this->object->get_id() );
	$title     = $this->object->get_code();

	echo '<strong><a class="row-title" href="' . esc_url( $edit_link ) . '">' . esc_html( $title ) . '</a>';
	_post_states( $post );
	echo '</strong>';
}