makeCustomFieldChanges

Description

Saves changes to custom profile fields

Syntax

void makeCustomFieldChanges (int $memID, string $area[, bool $sanitize])



Parameter $memID

Expected type: Integer
Description: The ID of the member whose data we're saving



Parameter $area

Expected type: String
Description: Which area of the profile this field is in. Corresponds to one of the areas defined by ModifyProfile.



Parameter $sanitize

Expected type: Boolean
Description: Whether or not to sanitize the data before saving it. Defaults to true.


Notes

  • Only saves changes to active fields
  • Validates the data if applicable
Advertisement: