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