Table of Contents
Description #
This action runs after the user is created during the user registration process. You can use this action to do the additional task for the created user.
/*
* Source Action
*/
do_action('fluentform_created_user', $userId, $feed, $entry, $form);
Usage #
add_action('fluentform_user_registration_before_start', 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