Title: Add Database Functionality to a WP_List_Table
Last modified: August 20, 2016

---

# Add Database Functionality to a WP_List_Table

 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [14 years ago](https://wordpress.org/support/topic/add-database-functionality-to-a-wp_list_table/)
 * Hi I have the following `functions.php` where I’m trying to setup a `$wp_list_table`
   and add Database functionality. The table is going to be used for custom widgets
   section inside the WordPress backend – it currently adds a new menu page and 
   renders a nicely organized table that has no functionality at all.
 * Does anyone have any ideas on the code that might help me get setup to make queries
   to the DB for editing and removing the linked titles in the first column of my
   table? In the end I’m wanting the user to go to a 2nd page, add a custom widget,
   and then re-direct back to the first page after updating option to see the newly-
   added widget. This has been a marathon to say the least!
 * _[ **438 lines of code moderated.** For more than [**10 lines of code**](http://codex.wordpress.org/Forum_Welcome#Posting_Code)
   please use [pastebin.com](http://pastebin.com/) instead. ]_

The topic ‘Add Database Functionality to a WP_List_Table’ is closed to new replies.

## Tags

 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [wp_list_table](https://wordpress.org/support/topic-tag/wp_list_table/)

 * 0 replies
 * 1 participant
 * Last reply from: [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/add-database-functionality-to-a-wp_list_table/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
