Vote count:
0
custom WP_LIST_TABLE make
how to screen option custom column list show
columns to use in the custom table I want to show screen option
The source code is
$this->admin_screen = get_current_screen();
add_filter( "manage_{$this->admin_screen->id}_columns", 'hama_Menu_List::get_instance()::wp_list_columns', 10 );
$this->admin_screen->add_option(
'per_page',
array(
'label' => 'Entries per page',
'default' => 20,
'option' => 'edit_per_page'
)
);
asked 44 secs ago
Aucun commentaire:
Enregistrer un commentaire