View Categories

fluentform/user_registration_completed

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 the necessary tasks.

/*
* 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.

Parameters #

  • $userId (int) User ID
  • $feed (array) User Feed
  • $entry (object) Submission Object
  • $form (object) Form Object

Source Code #

This action is located in fluentformpro/src/Integrations/UserRegistration/UserRegistrationApi.php -> createUser()