fluentform_created_user

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

Powered by BetterDocs

Leave a Reply

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