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

delete_profile_image()

Description

Delete a user's profile image. This will first remove the file and then update the db to clear the existing value.

Parameters

ColumnTypeDefaultDescription
$user_ref mixed User id of the user who's profile image is to be deleted.

Return

void

This article was last updated 28th February 2021 16:05 Europe/London time based on the source file dated 11th February 2021 16:30 Europe/London time.