woocommerce_theme_installed action-hookWC 1.0

Fires when a theme is successfully installed.

Usage

add_action( 'woocommerce_theme_installed', 'wp_kama_woocommerce_theme_installed_action' );

/**
 * Function for `woocommerce_theme_installed` action-hook.
 * 
 * @param string $theme The theme name.
 *
 * @return void
 */
function wp_kama_woocommerce_theme_installed_action( $theme ){

	// action...
}
$theme(string)
The theme name.

Where the hook is called

Themes::upload_theme()
woocommerce_theme_installed
woocommerce/src/Admin/API/Themes.php 110
do_action( 'woocommerce_theme_installed', $theme );

Where the hook is used in WooCommerce

woocommerce/src/Internal/Admin/Onboarding/OnboardingThemes.php 30
add_action( 'woocommerce_theme_installed', array( __CLASS__, 'delete_themes_transient' ) );