WC_Admin_List_Table_Coupons::render_coupon_code_column
Render column: coupon_code.
Method of the class: WC_Admin_List_Table_Coupons{}
No Hooks.
Returns
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() WC Admin List Table Coupons::render coupon code column code WC 10.4.3
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>';
}