Support » Plugin: Bulk Actions Select All » No support for custom bulk actions?

  • Resolved podkot

    (@podkot)



    Hi, and thanks for the great plugin!

    Many other plugins, f.e. WooCommerce, add its own custom bulk actions, but this condition prevents them to work:

    $bulk_object_type == 'post' && ! in_array( $wp_list_table->current_action(), array( 'trash', 'untrash', 'delete' ) )

    – could it be removed?

    Also, it would be nice to get some error message displayed in such cases.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jesper van Engelen

    (@engelen)

    Heya!

    Thanks for your feedback. This was indeed done deliberately, to ensure no unexpected behaviour occurs. For example, this could be the case with JavaScript based bulk actions such as the bulk editing feature.

    However, with WordPress 4.7, it’s become much easier to add custom bulk actions, and I expect many plugins will do so in the future. Therefore, this is probably a good moment to lift this restriction. So: expect it Bulk Actions: Select All 1.2 :-)!

    NB if you subscribe to this topic, I’ll send a notification once I release it.

    Best,
    Jesper

    Great news! Thank you!

    Plugin Author Jesper van Engelen

    (@engelen)

    This has now been implemented in the version on GitHub, which will be released as version 1.2 later this week (https://github.com/engelen/bulk-actions-select-all/issues/1).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘No support for custom bulk actions?’ is closed to new replies.