User Register Hook

Hook’s name: uultra_registration_hook

This action hook allows you to access data for a new user immediately after they are added to the database. The user id is passed to hook as an argument.

Typically, this hook is used for saving additional user meta passed by custom registration forms.


Place the following function within the functions.php file which is in your theme’s folder:

function uultra_registration_hook($user_id)
   //do your stuff
   update_user_meta($user_id, 'uuultra_custom_hook_name', 'yea it worked');


PLEASE NOTE: This is an example, you would need to write your own coding within the “uultra_registration_hook” function.