WC_Admin_List_Table_Coupons::render_coupon_code_column()protectedWC 1.0

Render column: coupon_code.

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

Code of WC_Admin_List_Table_Coupons::render_coupon_code_column() WC 6.7.0

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