Skip to:
Content
Pages
Categories
Search
Top
Bottom

profile edit equivalent hook to `bp_signup_usermeta`


  • moui
    Participant

    @moui

    hello,

    I am using the bp_signup_usermeta hook to alter the submitted registration info before saving it in the database. I’d like to perform the same manipulations on usermeta when the user edits their profile. Is there an equivalent hook for saving profile edits?

    gist

    Best,
    Tyler

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

  • shanebp
    Moderator

    @shanebp

    Perhaps this?

    buddypress\bp-xprofile\classes\class-bp-xprofile-profiledata.php 
    Line 201: 	do_action_ref_array( 'xprofile_data_before_save', array( $this ) );

    moui
    Participant

    @moui

    I think this is handling a single field at a time, rather than giving me a $_POST I can work with, so I can’t do exactly the same process. That said, I can make this work. Thanks!


    moui
    Participant

    @moui

    actually it looks like registration is the same, and I had made some wrong assumptions! in any case, thanks!

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