edit_user_created_user

动作钩子


do_action( 'edit_user_created_user', $user_id, $notify )
参数
  • (int|WP_Error)
    $user_id
    ID of the newly created user or WP_Error on failure.
    Required:
  • (string)
    $notify
    Type of notification that should happen. See
    wp_send_new_user_notifications() for more information.
    Required:
定义位置
  • wp-admin/includes/user.php
    , line 241
引入
4.4.0
弃用

Fires after a new user has been created.

do_action( 'edit_user_created_user', $user_id, $notify );