user_profile_update_errors

SummerySummery

Fires before user profile update errors are returned.

Syntax

do_action_ref_array( 'user_profile_update_errors', WP_Error $errors, bool $update, stdClass $user )

ParametersParameters

$errors

(WP_Error) WP_Error object (passed by reference).

$update

(bool) Whether this is a user update.

$user

(stdClass) User object (passed by reference).

SourceSource

File: wp-admin/includes/user.php

ChangelogChangelog

Changelog
Version Description
2.8.0 Introduced.
Scroll to Top