wp_install action-hook . WP 3.9.0
Fires after a site is fully installed.
Usage
add_action( 'wp_install', 'action_function_name_9953' ); function action_function_name_9953( $user ){ // action... }
- $user(WP_User)
- The site owner.
Changelog
Since 3.9.0 | Introduced. |
Where the hook is called
wp_install
wp-admin/includes/upgrade.php 128
do_action( 'wp_install', $user );