This function is used by developers to retrieve the metadata of users. The usermeta function is capable to return an array or single metadata. The following syntax needs to be used to apply usermeta function.

get_user_meta( int $user_id, string $key = '', bool $single = false )

BY Best Interview Question ON 18 Jul 2019