update_plugin_complete_actions filter-hookWP 2.7.0

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

Usage

add_filter( 'update_plugin_complete_actions', 'wp_kama_update_plugin_complete_actions_filter', 10, 2 );

/**
 * Function for `update_plugin_complete_actions` filter-hook.
 * 
 * @param string[] $update_actions Array of plugin action links.
 * @param string   $plugin         Path to the plugin file relative to the plugins directory.
 *
 * @return string[]
 */
function wp_kama_update_plugin_complete_actions_filter( $update_actions, $plugin ){

	// filter...
	return $update_actions;
}
$update_actions(string[])
Array of plugin action links.
$plugin(string)
Path to the plugin file relative to the plugins directory.

Changelog

Since 2.7.0 Introduced.

Where the hook is called

Plugin_Upgrader_Skin::after()
update_plugin_complete_actions
wp-admin/includes/class-plugin-upgrader-skin.php 117
$update_actions = apply_filters( 'update_plugin_complete_actions', $update_actions, $this->plugin );

Where the hook is used in WordPress

Usage not found.