這個外掛並未在最新的 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.

評價

2021年1月20日
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
2019年10月1日
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.
2019年1月30日
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!
閱讀全部49個評價

貢獻者及開發者

“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