Title: Set User&#8217;s &#8220;Display Name&#8221; Using PHP
Last modified: August 19, 2016

---

# Set User’s “Display Name” Using PHP

 *  Resolved [mdgross](https://wordpress.org/support/users/mdgross/)
 * (@mdgross)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/set-users-display-name-using-php/)
 * I’d like to update the current logged in user’s “Display Name Publicly As” using
   a plug-in. I can’t seem to find a function to update this field. Any suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [mdgross](https://wordpress.org/support/users/mdgross/)
 * (@mdgross)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/set-users-display-name-using-php/#post-1174045)
 * found it… update_usermeta duh….
 *  [Peter Butler](https://wordpress.org/support/users/peterebutler/)
 * (@peterebutler)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/set-users-display-name-using-php/#post-1174310)
 * Really? Update_usermeta works? The display name isn’t stored in the usermeta 
   table, so I wouldnt have guessed it – I guess I’ll have to try it out myself..

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Set User’s “Display Name” Using PHP’ is closed to new replies.

## Tags

 * [display name](https://wordpress.org/support/topic-tag/display-name/)

 * 2 replies
 * 2 participants
 * Last reply from: [Peter Butler](https://wordpress.org/support/users/peterebutler/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/set-users-display-name-using-php/#post-1174310)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
