Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Custom List Table Example

Описание

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.

Отзывы

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.
30.01.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!
Посмотреть все 48 отзывов

Участники и разработчики

«Custom List Table Example» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Custom List Table Example» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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