Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

set_user_profile()

Description

Set user's profile image and profile description (bio). Used by ../pages/user/user_profile_edit.php to setup user's profile.

Parameters

ColumnTypeDefaultDescription
$user_ref int User id of user who's profile is being set.
$profile_text string User entered profile description text (bio).
$image_path string Path to temp file created if user chose to upload a profile image.

Return

boolean If an error is encountered saving the profile image return will be false.

This article was last updated 15th May 2021 00:35 Europe/London time based on the source file dated 10th May 2021 17:30 Europe/London time.