woocommerce_theme_installed

woocommerce_theme_installed

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_theme_installed') is found 1 times:

  • /src/Admin/API/Themes.php line 110
    			 * Fires when a theme is successfully installed.
    			 *
    			 * @param string $theme The theme name.
    			 */
    			do_action( 'woocommerce_theme_installed', $theme );
    		} else {
    			if ( is_wp_error( $install ) && $install->get_error_code() ) {
    				$error_message = isset( $upgrader->strings[ $install->get_error_code() ] ) ? $upgrader->strings[ $install->get_error_code() ] : $install->get_error_data();
    			} else {
    				$error_message = $upgrader->strings['process_failed'];
    			}
    

See this hook used in plugins: