This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Custom List Table Example

Description

This plugin serves as a highly documented example of using WordPress’s built-in WP_List_Table class for plugin development. Previously, WordPress plugins
had to be created from scratch and were often wildly inconsistent with the rest of the WordPress admin. This example serves to help clarify use of the
WP_List_Table class for quickly and easily generating consistent, standardized, feature-rich list-tables for WordPress admin screens.

One new admin menu is created: “List Table Example”. This page includes an example table and all the documentation needed to reproduce it. Developers who
open the PHP file itself will find exceptionally well documented code outlining all the information needed to duplicate this feature.

For more information, please visit the WP_List_Tables page in the WordPress Codex.

Reviews

January 20, 2021
this is great. Too bad WordPress changed their policy and don't allow adding new example plugins like this. This is super convenient as a starting point to develop my own plugin <3
October 1, 2019
Thanks for sharing this. It made it so much easier to implement a proper handling of data sets for a custom plugin. With the clear comments, it's fairly easy to tweak once everything is in place.
January 30, 2019
This is incredibly helpful, well documented, and such a good example to follow. It really, REALLY helped me dig into the WP_List_Table class as well. Thank you for doing this!
Read all 49 reviews

Contributors & Developers

“Custom List Table Example” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.4

  • Minor addition to documentation.
  • NOTE: No changes are required to maintain support with new list tables in WordPress 4.3!

1.3

  • Minor updates to documentation
  • Fixed the WordPress Plugin Editor link on the example admin page

1.2

  • Fixed a minor bug that could result in sorting not quite working as expected

1.1

  • Fixed an incorrect codex link in the readme

1.0

  • Demonstrates usage of WP_List_Table
  • Demonstrates pagination
  • Demonstrates column sorting
  • Demonstrates inline actions
  • Demonstrates bulk actions