WordPress.org

Ready to get started?Download WordPress

Forums

Question about userdata array and wp_insert_user (1 post)

  1. Alex Ball
    Member
    Posted 1 year ago #

    Quick question:

    The userdata array that is the argument for wp_insert_user has the following fields according to the Codex:

    user_pass
    user_login
    user_nicename
    user_url
    user_email
    display_name
    nickname
    first_name
    last_name
    description
    rich_editing
    user_registered
    role
    jabber
    aim
    yim

    Is there a way to add more fields to that array? Could I simply create my own field in the array and assume it'll save the data to the database?

    Anyone had experience with this?

Topic Closed

This topic has been closed to new replies.

About this Topic