update_theme_complete_actions filter-hookWP 2.8.0

Filters the list of action links available following a single theme update.

Usage

add_filter( 'update_theme_complete_actions', 'wp_kama_update_theme_complete_actions_filter', 10, 2 );

/**
 * Function for `update_theme_complete_actions` filter-hook.
 * 
 * @param string[] $update_actions Array of theme action links.
 * @param string   $theme          Theme directory name.
 *
 * @return string[]
 */
function wp_kama_update_theme_complete_actions_filter( $update_actions, $theme ){

	// filter...
	return $update_actions;
}
$update_actions(string[])
Array of theme action links.
$theme(string)
Theme directory name.

Changelog

Since 2.8.0 Introduced.

Where the hook is called

Theme_Upgrader_Skin::after()
update_theme_complete_actions
wp-admin/includes/class-theme-upgrader-skin.php 138
$update_actions = apply_filters( 'update_theme_complete_actions', $update_actions, $this->theme );

Where the hook is used in WordPress

Usage not found.