user_profile_update_errors

动作钩子


do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user )
参数
  • (WP_Error)
    $errors
    WP_Error object (passed by reference).
    Required:
  • (bool)
    $update
    Whether this is a user update.
    Required:
  • (stdClass)
    $user
    User object (passed by reference).
    Required:
定义位置
  • wp-admin/includes/user.php
    , line 220
引入
2.8.0
弃用

Fires before user profile update errors are returned.

do_action_ref_array( 'user_profile_update_errors', array( &$errors, $update, &$user ) );