Table of Contents
Description #
This action runs after the user registration process is completed. If you use any third party profile plugin , you can use this hook to get the user data and do necessary task.
/*
* Source Action
*/
do_action('fluentform_user_registration_completed', $userId, $feed, $entry, $form);
Usage #
add_action('fluentform_user_registration_completed', function ($userId, $feed, $entry, $form)
{
// Do your stuffs here
}, 10, 4);
This code should be placed in the functions.php file of your active theme.
Paramertes #
- $feed (array) Feed Data
- $entry (array) Enrty Data
- $form (object) Form Object
- $userId (int) User ID
Source Code #
This hook is located in /fluentformpro/src/Integrations/UserRegistration/UserRegistrationApi.php