Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • rakhisystematix
    Participant

    @rakhisystematix

    Hello Team,

    I tried using this hook bp_core_general_settings_after_save but in $_post I also want current username as well.


    rakhisystematix
    Participant

    @rakhisystematix

    I tried this hook

    function something_updated_profile( $userId, $posted_field_ids, $errors, $old_values, $new_values ) {
    /*if ( empty( $errors ) ) {*/
    print_r( $posted_field_ids );
    echo “<br>user id: ” . $userId . “<br>”;
    print_r( $new_values ); die;
    /*}*/
    }
    add_action(‘xprofile_updated_profile’, ‘something_updated_profile’, 1, 3);

    But on the update of general settings (new password / confirm password) it’s not printing anything

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