ExpressionEngine

2.11.9 User Guide

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 Registration Extension Hooks

member_member_register

member_member_register($data, $member_id)

Additional processing when a member is registering through the user side of ExpressionEngine.

How it’s called:

ee()->extensions->call('member_member_register', $data, $member_id);
if (ee()->extensions->end_script === TRUE) return;
Parameters:
  • $data (array) – Array of data about the new member like username, email, screen_name
  • $member_id (int) – The new member’s id
Return type:

Void

New in version 1.4.0.

member_member_register_errors

member_member_register_errors($this)

Add additional error checking to the member registration form.

How it’s called:

ee()->extensions->call('member_member_register_errors', $this);
if (ee()->extensions->end_script === TRUE) return;
Parameters:
  • $this (object) – The current Member_register object
Return type:

Void

New in version 2.5.0.

member_member_register_start

member_member_register_start()

Additional processing prior to/take control of member registration routine.

How it’s called:

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

New in version 1.4.2.

member_register_validate_members

member_register_validate_members($member_id)

Additional processing when member(s) are self validated

How it’s called:

ee()->extensions->call('member_register_validate_members', $member_id);
if (ee()->extensions->end_script === TRUE) return;
Parameters:
  • $member_id (int) – the ID of the member
Return type:

Void

New in version 1.5.2.