• Resolved anil6080

    (@anil6080)


    i am trying to approve user dynamically depend of register form details
    and for that i am using wordpress ‘user_register’ action hook but it’s not executing the the

    i place below code in my theme function.php file but it’s not calling the function

    add_action( ‘user_register’, ‘myplugin_registration_save’, 10, 1 );
    function myplugin_registration_save( $user_id ) {
    var_dump($user_id); exit;
    }

    https://www.ads-software.com/plugins/users-ultra/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Plugins Area

    (@usersultra)

    Hello anil6080,

    Firstly, I would like to apologize for the delay getting back to you.

    Ok… please give me 24 hours and we will tweak the code so you can use the user_register hook.

    I will update this thread as soon as the new version is up.

    Best Regards
    Frank

    Plugin Contributor Plugins Area

    (@usersultra)

    Hello,

    The new version includes this hook “uultra_registration_hook” . Please add the registration hook within your functions.php file.

    Let me know if that helps.

    Regards
    Frank

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