最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

wp list table - WP_List_Table add custom bulk actions

programmeradmin0浏览0评论

Is it possible to add a bulk action to an existing WP_List_Table object?

Quforms uses class Quform_Entry_List_Table extends WP_List_Table

I would like to add a custom bulk_action to their Entries admin page, but I do not want to customize their commercial plugin. I can get the bulk action added to the selector using add_filter('bulk_actions-forms_page_quform.entries','e2QBR_register_resend_action'); but, I cannot find any way to hook to the "Apply" button. add_filter('handle_bulk_actions-forms_page_quform.entries', 'e2QBR_Bulk_Action_Handler',10,3); does nothing, because this is a WP_List_Table.

If this is possible, I would really appreciate a URL or code snippet to get me started.

发布评论

评论列表(0)

  1. 暂无评论