Member Module Authorization Extension Hooks
member_member_login_multi($hook_data)
Parameter | Type | Description |
---|---|---|
$hook_data | Object |
Member object with session ID ($hook_data->session_id ) and CP permission boolean ($hook_data->can_access_cp ) |
Returns | Void |
Additional processing when a member is logging into ExpressionEngine via the Multi-Login functionality.
How it’s called:
ee()->extensions->call('member_member_login_multi', $this->_hook_data());
if (ee()->extensions->end_script === TRUE) return;
member_member_login_single($hook_data)
Parameter | Type | Description |
---|---|---|
$hook_data | Object |
Member object with session ID ($hook_data->session_id ) and CP permission boolean ($hook_data->can_access_cp ) |
Returns | Void |
Additional processing when a member is logging into ExpressionEngine.
How it’s called:
ee()->extensions->call('member_member_login_single', $this->_hook_data());
if (ee()->extensions->end_script === TRUE) return;
member_member_login_start()
Parameter | Type |
---|---|
Returns | Void |
Additional processing prior to / take control of member login routine
How it’s called:
ee()->extensions->call('member_member_login_start');
if (ee()->extensions->end_script === TRUE) return;
member_member_logout()
Parameter | Type |
---|---|
Returns | Void |
Perform additional actions after logout.
How it’s called:
$edata = ee()->extensions->call('member_member_logout');
if (ee()->extensions->end_script === TRUE) return;
member_process_reset_password()
Parameter | Type | Description |
---|---|---|
$data | Array |
An Output::show_message() $data array. |
Returns | Void |
Perform additional actions after the user resets their password.
How it’s called:
$data = ee()->extensions->call('member_process_reset_password', $data);
if (ee()->extensions->end_script === TRUE) return;