Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Custom List Table Example

Apraksts

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.

Atsauksmes

20 janvāris, 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
1 oktobris, 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.
30 janvāris, 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!
Lasīt 49 atsauksmes

Autori un izstrādātāji

“Custom List Table Example” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Custom List Table Example&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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