Skip to:
Content
Pages
Categories
Search
Top
Bottom

After registration i want to store the role in ‘wp_user’ table

  • @ranjitabuddy1

    Participant

    Hello i have created 2 registration form using buddypress extended profile feature. i.e https://myolife.com/register/?role=provider

    Registration

    After registration i want to store the role (i.e user or provider) in wp_user table. i have created a column (i.e role) in “wp_user” table.. How can i do that?

    OR just let me know which file in “buddypress” folder i will edit to achieve the above?

    Please help me on urgent basis.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @dcavins

    Keymaster

    It wouldn’t be wise to edit the wp_user table. You could store the info in the user meta table, or better yet use BuddyPress member types: https://codex.buddypress.org/developer/member-types/

    @ranjitabuddy1

    Participant

    yes, i want to save in user_meta table. just let me know the particular file where you write code/ function for insertion of user data to database at the time of registration.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar