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.

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

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

	return $install_actions;
}
$install_actions(строка[])
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 145
$install_actions = apply_filters( 'install_theme_complete_actions', $install_actions, $this->api, $stylesheet, $theme_info );

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

wp-admin/includes/class-theme-upgrader.php 127
add_filter( 'install_theme_complete_actions', array( $this, 'hide_activate_preview_actions' ) );
wp-admin/includes/class-theme-upgrader.php 141
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 154
add_filter( 'install_theme_complete_actions', array( $this, 'hide_activate_preview_actions' ) );
wp-admin/includes/class-theme-upgrader.php 158
remove_filter( 'install_theme_complete_actions', '__return_false', 999 );