wp_install хук-событие . WP 3.9.0
Fires after a site is fully installed.
Использование
add_action( 'wp_install', 'action_function_name_6911' ); function action_function_name_6911( $user ){ // action... }
- $user(WP_User)
- The site owner.
Список изменений
С версии 3.9.0 | Введена. |
Где вызывается хук
wp_install
wp-admin/includes/upgrade.php 128
do_action( 'wp_install', $user );