Function: get_user_metavalues

get_user_metavalues( array $ids )

Perform the query to get the $metavalues array(s) needed by _fill_user and _fill_many_users

Parameters

Name Type(s) Default Value Description
$ids array

User ID numbers list.

Returns

array

of arrays. The array is indexed by user_id, containing $metavalues object arrays.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.