Hi EE Devlopers,
I am new with EE and not quite sure what to make of the User Doc relating to;
$edata = $this->extensions->call('cp_members_member_create', $member_id, $data);
if ($this->extensions->end_script === TRUE) return;I have created an ‘Extension’ so far that makes a RESTful call to a third-party CRM app. It returns a string that I would like to insert to a Custom Member Field I have created.
After CP Register Member, I would like to insert the data string, using the Extension Hook, yet I am not quite sure how to work with the $member_id. It is not actually available as the variable $member_id. I tried ‘db->insert_id(); Again no go.
I am sure it will be easy once I understand how to make use of the $member_id.
Any help would be greatly appreciated. Thanks.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.