Get user description by username with argument
-
$user_id = $url; $test = get_user_meta( $user_id->ID, 'description', true ); echo $test;
Row 1: $url is username/nicename of that specific user.
Row 2: trying to get description.
Row 3: printing description.There is a problem with row 2 i understand that sow what is the correct way?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Get user description by username with argument’ is closed to new replies.