WC_Admin_API_Keys_Table_List::column_cb()publicWC 1.0

Column cb.

Method of the class: WC_Admin_API_Keys_Table_List{}

No Hooks.

Return

String.

Usage

$WC_Admin_API_Keys_Table_List = new WC_Admin_API_Keys_Table_List();
$WC_Admin_API_Keys_Table_List->column_cb( $key );
$key(array) (required)
Key data.

WC_Admin_API_Keys_Table_List::column_cb() code WC 8.9.0

public function column_cb( $key ) {
	return sprintf( '<input type="checkbox" name="key[]" value="%1$s" />', $key['key_id'] );
}