1

We have wordpress admin interface for "all posts" list. Sortable column methods are available for "custom post type".

But can we not implement this type of wp-admin like interface with sortable columns in any reporting/table in our any custom plugin that show a tabular report or listings fetched from database?

1
  • As usual answer to "can we" is "yes". You can do anything with enough time and budget. Please try to focus your question on more specific details of implementation.
    – Rarst
    Commented Sep 16, 2013 at 12:14

1 Answer 1

1

You should create your own class extending WP_List_Table.

To get a point where start look how Wordpress itself use that class for posts, creating the WP_Posts_List_Table class.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.