This documentation is only for developers. If you are not a developer with good PHP coding skills then you have no need to read this.
The registration completion hook (eMember_registration_complete) gets triggered after a member completes the registration. It will pass the details of the user who just registered to the handling function.
Here is a sample code to show you how it works. You can use this code in your custom plugin to see how it passes the data.
function handle_custom_registration_complete_event($member_data,$custom_fields) { //The following line will print all the member details that got passed to this function via the $member_data array. //You can use this data however you like it. print_r($member_data); echo "<br />Custom fields data shown below<br />"; print_r($custom_fields); } add_action('eMember_registration_complete','handle_custom_registration_complete_event',10,2);