WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Set User's "Display Name" Using PHP (3 posts)

  1. mdgross
    Member
    Posted 4 years ago #

    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?

  2. mdgross
    Member
    Posted 4 years ago #

    found it... update_usermeta duh....

  3. Peter Butler
    Member
    Posted 4 years ago #

    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..

Topic Closed

This topic has been closed to new replies.

About this Topic