$edit_action

  • do_action( $edit_action, $user_id )

    Source Reference:

    • Component: bbPress:: bbp-user
      File: /bbp-includes/bbp-user-functions.php :: Trac Source Line: 824
      	}
      
      	check_admin_referer( 'update-user_' . $user_id );
      
      	if ( !current_user_can( 'edit_user', $user_id ) )
      		wp_die( __( 'What are you doing here? You do not have the permission to edit this user.', 'bbpress' ) );
      
      	// Do action based on who's profile you're editing
      	$edit_action = bbp_is_user_home() ? 'personal_options_update' : 'edit_user_profile_update';
      	do_action( $edit_action, $user_id );
      
      	// Multisite handles the trouble for us ;)
      	if ( !is_multisite() ) {
      		$edit_user = edit_user( $user_id );
      
      	// Single site means we need to do some manual labor
      	} else {
      		$user = get_userdata( $user_id );
      
      		// Update the email address in signups, if present.
      

Comments are closed.