get_profile


get_profile ( $field, $user = false )

Parameters:
  • (string) field User meta field.
  • (false|int) user Optional. User ID to retrieve the field for. Default false (current user).
See:
Returns:
  • (string) The author's field from the current author's DB object.
Defined at:

Description

Retrieve user data based on field.

Related Functions

get_role, get_post_field, get_edit_profile_url, get_plugin_files, get_file_data

Top Google Results

User discussions

wpseek mobile