WordPress.org

Ready to get started?Download WordPress

Plugin Reviews

Custom List Table Example

A highly documented plugin that demonstrates how to create custom admin list-tables using official WordPress techniques.

1 review
Average Rating
4 stars
4.9 out of 5 stars
You are currently viewing the reviews that provided a rating of 4 stars. Click here to see all reviews.
4 stars
Great example, one suggestion.
By , for WP 3.6.1

Don't bother Googling for how to use the WP_List_Table class, rather just use this plugin as an example instead!

Just one suggestion, a function like the one below would reduce the redundancy of having to type out the columns keys.


function get_column_keys(){
$data = $this->get_columns();
unset( $data['cb'] );
foreach( $data as $k => $v ){
$keys[] = $k;
}
return $keys;
}

You must log in to submit a review. You can also log in or register using the form near the top of this page.