update_bulk_theme_complete_actions хук-фильтрWP 3.0.0

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

Использование

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.

Список изменений

С версии 3.0.0 Введена.

Где вызывается хук

Bulk_Theme_Upgrader_Skin::bulk_footer()
update_bulk_theme_complete_actions
wp-admin/includes/class-bulk-theme-upgrader-skin.php 82
$update_actions = apply_filters( 'update_bulk_theme_complete_actions', $update_actions, $this->theme_info );

Где используется хук в WordPress

Использование не найдено.