Retired Documentation
You are using the documentation for version 2.11.9. Go here for the latest version or check here for your available upgrades to the latest version.
Member Module Settings Extension Hooks¶
member_edit_preferences¶
-
member_edit_preferences
($element)¶ Allows adding of preferences to user side preferences form by modifying the preference form template.
How it’s called:
$element = ee()->extensions->call('member_edit_preferences', $element);
Parameters: - $element (string) – Preference form template
Returns: Modified preference form template (
$element
)Return type: String
New in version 1.4.0.
member_update_preferences¶
-
member_update_preferences
($data)¶ Allows updating of added preferences via user side preferences form.
How it’s called:
ee()->extensions->call('member_update_preferences', $data); if (ee()->extensions->end_script === TRUE) return;
Parameters: - $data (array) – Array of data from standard form
Return type: Void
New in version 1.4.0.