• Resolved ldeschenes

    (@ldeschenes)


    Hi,

    I want to allow my super-users (role manager) to register new users.

    I added the following code snippet:

    function my_registration_for_loggedin_users( $enable_loggedin_registration ) {
    $enable_loggedin_registration = TRUE;
    return $enable_loggedin_registration;
    }
    add_filter( 'um_registration_for_loggedin_users', 'my_registration_for_loggedin_users', 10, 1 );

    That does work but the registration form is filed with the info of the user that is logged-in (the manager). How can I make the registration form empty ?

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Registration form for logged-in users’ is closed to new replies.