wordpress - How make single page for WP_List_Table edit? -
how can create admin page, edit single item custom table wp_list_table
?
data: custom db table, on admin have add menu item method build table through wp_list_table
.
there want create 'manage' button, manage single item table.
how can this?
- is there action hook
- or have add second class
- or menu item
i have try add menu item, how can add without adding menu? add_submenu_page
parent slug = null
clear wp solution?
for situation solution:
if ( array_key_exists( 'single', $_request ) ) { //function process single item } else { //create instance of our package class... $withdraw = new class_table(); //fetch, prepare, sort, , filter our data... $withdraw->prepare_items(); }
Comments
Post a Comment