WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

install_theme_complete_actions хук-фильтр . WP 2.8.0

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

Ищем WP-разработчика! Фулл-тайм, удаленка, хорошая зарплата, соц. пакет. Подробности.
Компания Boosta.

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

add_filter( 'install_theme_complete_actions', 'filter_function_name_9352', 10, 4 );
function filter_function_name_9352( $install_actions, $api, $stylesheet, $theme_info ){
	// filter...

	return $install_actions;
}
$install_actions(string[])
Array of theme action links.
$api(объект)
Object containing WordPress.org API theme data.
$stylesheet(строка)
Theme directory name.
$theme_info(WP_Theme)
Theme object.

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

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

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

Theme_Installer_Skin::after()
install_theme_complete_actions
wp-admin/includes/class-theme-installer-skin.php 184
$install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info );

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

wp-admin/includes/class-theme-upgrader.php 155
add_filter( 'install_theme_complete_actions', array( $this, 'hide_activate_preview_actions' ) );
wp-admin/includes/class-theme-upgrader.php 170
add_filter( 'install_theme_complete_actions', '__return_false', 999 ); // Don't show any actions after installing the theme.
wp-admin/includes/class-theme-upgrader.php 183
add_filter( 'install_theme_complete_actions', array( $this, 'hide_activate_preview_actions' ) );
wp-admin/includes/class-theme-upgrader.php 187
remove_filter( 'install_theme_complete_actions', '__return_false', 999 );