Filter hook 'update_bulk_theme_complete_actions'

in WP Core File wp-admin/includes/class-bulk-theme-upgrader-skin.php at line 99

View Source

update_bulk_theme_complete_actions

Filter Hook
Description
Filters the list of action links available following bulk theme updates.

Hook Information

File Location wp-admin/includes/class-bulk-theme-upgrader-skin.php View on GitHub
Hook Type Filter
Line Number 99

Hook Parameters

Type Name Description
string[] $update_actions Array of theme action links.
WP_Theme $theme_info Theme object for the last-updated theme.

Usage Examples

Basic Usage
<?php
// Hook into update_bulk_theme_complete_actions
add_filter('update_bulk_theme_complete_actions', 'my_custom_filter', 10, 2);

function my_custom_filter($update_actions, $theme_info) {
    // Your custom filtering logic here
    return $update_actions;
}

Source Code Context

wp-admin/includes/class-bulk-theme-upgrader-skin.php:99 - How this hook is used in WordPress core
<?php
  94  		 * @since 3.0.0
  95  		 *
  96  		 * @param string[] $update_actions Array of theme action links.
  97  		 * @param WP_Theme $theme_info     Theme object for the last-updated theme.
  98  		 */
  99  		$update_actions = apply_filters( 'update_bulk_theme_complete_actions', $update_actions, $this->theme_info );
 100  
 101  		if ( ! empty( $update_actions ) ) {
 102  			$this->feedback( implode( ' | ', (array) $update_actions ) );
 103  		}
 104  	}

PHP Documentation

<?php
/**
		 * Filters the list of action links available following bulk theme updates.
		 *
		 * @since 3.0.0
		 *
		 * @param string[] $update_actions Array of theme action links.
		 * @param WP_Theme $theme_info     Theme object for the last-updated theme.
		 */
Quick Info
  • Hook Type: Filter
  • Parameters: 2
  • File: wp-admin/includes/class-bulk-theme-upgrader-skin.php
Related Hooks

Related hooks will be displayed here in future updates.