ExpressionEngine® 3 User Guide

Legacy Documentation

You are using the documentation for version 3.5.17. Go here for the latest version or check here for your available upgrades to the latest version.

Member Module Authorization Extension Hooks

member_member_login_multi

member_member_login_multi($hook_data)

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;
Parameters:
  • $hook_data (object) – Member object with session ID ($hook_data->session_id) and CP permission boolean ($hook_data->can_access_cp)
Return type:

Void

New in version 1.4.0.

member_member_login_single

member_member_login_single($hook_data)

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;
Parameters:
  • $hook_data (object) – Member object with session ID ($hook_data->session_id) and CP permission boolean ($hook_data->can_access_cp)
Return type:

Void

New in version 1.4.0.

member_member_login_start

member_member_login_start()

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;
Return type:Void

New in version 1.4.2.

member_member_logout

member_member_logout()

Perform additional actions after logout.

How it’s called:

$edata = ee()->extensions->call('member_member_logout');
if (ee()->extensions->end_script === TRUE) return;
Return type:Void

New in version 1.6.1.

member_process_reset_password

member_process_reset_password()

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;
Parameters:
  • $data (array) – An Output::show_message() $data array.
Return type:

Void

New in version 2.9.3.