Skip to:
Content
Pages
Categories
Search
Top
Bottom

notify site admin when user updates profile

  • Hey guys… is there a way to send an email to the site admin whenever a buddypress user on our site updates his/her profile?

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

  • r-a-y
    Keymaster

    @r-a-y

    There are two hooks BuddyPress uses when editing a profile that you can hook into:

    `do_action( ‘xprofile_profile_field_data_updated’, $field_id, $_POST );
    do_action( ‘xprofile_updated_profile’, $bp->displayed_user->id, $posted_field_ids, $errors );`

    These actions are in the xprofile_screen_edit_profile() function in bp-xprofile.php.

    If you’re unfamilar with WP plugin development, check out the WP Plugin API:
    https://codex.wordpress.org/Plugin_API

    awesome – thanks for the direction

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘notify site admin when user updates profile’ is closed to new replies.
Skip to toolbar