Docs: Clarify that `wp_update_user()` accepts an array as `$userdata` argument.

Props nextendweb.
Fixes #43051.

git-svn-id: https://develop.svn.wordpress.org/trunk@42774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2018-03-04 18:11:56 +00:00
parent 4edda96383
commit 78fc54ca37
1 changed files with 1 additions and 1 deletions

View File

@ -1852,7 +1852,7 @@ function wp_insert_user( $userdata ) {
*
* @see wp_insert_user() For what fields can be set in $userdata.
*
* @param object|WP_User $userdata An array of user data or a user object of type stdClass or WP_User.
* @param array|object|WP_User $userdata An array of user data or a user object of type stdClass or WP_User.
* @return int|WP_Error The updated user's ID or a WP_Error object if the user could not be updated.
*/
function wp_update_user( $userdata ) {