Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 19th March 2024 07:35 Europe/London time based on the source file dated 15th March 2024 17:00 Europe/London time.