• Resolved smartlemon

    (@smartlemon)


    Hi, maybe a stupid question, but how can i hand over the fields from the register form to the function, if i use this one:

    add_action( ‘um_registration_complete’, ‘my_registration_complete’, 10, 2 );
    function my_registration_complete( $user_id, $args ) {
    // …….
    }

    thx a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @smartlemon

    Have you tried dumping the $args['submitted']?

    
    add_action( ‘um_registration_complete’, ‘my_registration_complete’, 10, 2 );
    function my_registration_complete( $user_id, $args ) {
       var_dump( $args['submitted'] );
    
       wp_die('test dump');
    }
    

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @smartlemon
    …Please feel free to re-open this thread if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘um_registration_complete’ is closed to new replies.