Including version 4.6 it was quite difficult to add custom bulk actions to the WordPress admin pages. In version 4.7 a hook is added that simplifies the task a lot:
Defining the hook
As an example we’ll use the post page, the variables are named accordingly.
add_filter( 'bulk_actions-edit-post', 'register_my_bulk_actions' );