WordPress Membership

Easy to use WordPress Membership plugin

  • Documentation
  • WP eMember Plugin
  • Projects
  • Home

Member Registration Completion Hook

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);

Filed Under: Additional Resources Tagged With: API, member, registration form

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the WP eMember Plugin

Get WP eMember

Categories

  • Additional Resources
  • Content Protection
  • Design & Usage
  • eMember Addon
  • Installation
  • Integration
  • License
  • Testing
  • Uncategorized
  • Video Tutorial

Recent Comments

  • Chris Brown on API – Querying A Member Profile Using HTTP GET or POST
  • admin on API – Updating A Member Account Using HTTP GET or POST
  • Chris Brown on API – Updating A Member Account Using HTTP GET or POST
  • admin on API – Updating A Member Account Using HTTP GET or POST
  • Andrea on API – Updating A Member Account Using HTTP GET or POST

Featured WordPress Plugins

WP Express Checkout Plugin
wordpress_estore_icon
wordpress membership plugin icon
wordpress_affiliate_plugin_icon

Copyright © 2025 | WP Membership Plugin