Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • almostsultry
    Participant

    @almostsultry

    @boonebgorges does the signup object created at bp_core_signup_user have as its $user_id value the next incremental user ID in my wp_users table, or is it some other meta value? This is the only value I need for my custom function that I can’t get from the $usermeta array values at bp_core_signup_user. Even if the user never activates, I can at least perform my signup custom function on the external system.

    Thanks for the clarification.

    Please advise,
    Benjamin


    almostsultry
    Participant

    @almostsultry

    Shane,

    Thanks for the answer. I have setup a function (in functions.php) that adds the bp_complete_signup action on line 266 of bp_members_screens, just after the bp_core_signup_user is called. In my custom function, can I just call bp_core_signup_user() and get back the user ID it had already created; or do I need to pass it some parameters (and won’t that just create another new user)?

    Please advise,
    Benjamin


    almostsultry
    Participant

    @almostsultry

    Did you put this in functions.php or did you modify the plugin code directly?

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar