wphooks.info - wp_install

wp_install

The hook occurs in the following file:

wp-admin/includes/upgrade.php:
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
	wp_cache_flush();

	/**
	 * Fires after a site is fully installed.
	 *
	 * @since 3.9.0
	 *
	 * @param WP_User $user The site owner.
	 */
	do_action( 'wp_install', $user );

	return array('url' => $guessurl, 'user_id' => $user_id, 'password' => $user_password, 'password_message' => $message);
}
endif;

if ( !function_exists('wp_install_defaults') ) :
/**
 * Creates the initial content for a newly-installed site.
 *