bbp_profile_update( int $user_id, array $old_user_data = array() )

The main action for hooking into when a user account is updated

Description

Parameters

$user_id

(Required) ID of user being edited

$old_user_data

(Optional) The old, unmodified user data

Default value: array()

Source

File: bp-forums/core/sub-actions.php

function bbp_profile_update( $user_id = 0, $old_user_data = array() ) {
	do_action( 'bbp_profile_update', $user_id, $old_user_data );
}

Changelog

Changelog
Version Description
bbPress (r4304) Introduced.

Questions?

We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.