Changeset 4305
- Timestamp:
- 11/02/2012 07:30:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/sub-actions.php
r4249 r4305 238 238 239 239 /** 240 * The main action for hooking into a user saving their profile 241 * 242 * @since bbPress (r4235) 240 * The main action for hooking into when a user account is updated 241 * 242 * @since bbPress (r4304) 243 * 243 244 * @param int $user_id ID of user being edited 244 * @uses do_action() Calls 'bbp_edit_user_profile_update' 245 */ 246 function bbp_edit_user_profile_update( $user_id = 0 ) { 247 do_action( 'bbp_edit_user_profile_update', $user_id ); 245 * @param array $old_user_data The old, unmodified user data 246 * @uses do_action() Calls 'bbp_profile_update' 247 */ 248 function bbp_profile_update( $user_id = 0, $old_user_data = array() ) { 249 do_action( 'bbp_profile_update', $user_id, $old_user_data ); 250 } 251 252 /** 253 * The main action for hooking into a user being registered 254 * 255 * @since bbPress (r4304) 256 * @param int $user_id ID of user being edited 257 * @uses do_action() Calls 'bbp_user_register' 258 */ 259 function bbp_user_register( $user_id = 0 ) { 260 do_action( 'bbp_user_register', $user_id ); 248 261 } 249 262
Note: See TracChangeset
for help on using the changeset viewer.