update_bulk_plugins_complete_actions
Filters the list of action links available following bulk plugin updates.
Usage
add_filter( 'update_bulk_plugins_complete_actions', 'wp_kama_update_bulk_plugins_complete_actions_filter', 10, 2 ); /** * Function for `update_bulk_plugins_complete_actions` filter-hook. * * @param string[] $update_actions Array of plugin action links. * @param array $plugin_info Array of information for the last-updated plugin. * * @return string[] */ function wp_kama_update_bulk_plugins_complete_actions_filter( $update_actions, $plugin_info ){ // filter... return $update_actions; }
- $update_actions(string[])
- Array of plugin action links.
- $plugin_info(array)
- Array of information for the last-updated plugin.
Changelog
Since 3.0.0 | Introduced. |
Where the hook is called
update_bulk_plugins_complete_actions
wp-admin/includes/class-bulk-plugin-upgrader-skin.php 98
$update_actions = apply_filters( 'update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info );