How to make filtering of records WP_List_Table in wordpress?

Hi all.
almost done with WP_List_Table.

write your plugin. want to make a similar table as posts.
we just need to add filtering by date have their records from the database.

How to make filtering of records in wordpress?
5a74694310b7b066798367.jpeg
June 8th 19 at 16:43
2 answers
June 8th 19 at 16:45
Solution
Look in the direction of protected method extra_tablenav(). It is empty by default, but is called to display automatically, and in this method you can print (simply and angrily, using echo) the layout with your filters.

Later in your function pulling data from a table, make the desired selection. Ie in the case of these filters are no ready-made function that you can just call with some parameters, handles to add.
June 8th 19 at 16:47
yeah. thank you. that's what I thought. but hoping for the best =)

Find more questions by tags WordPress