• Resolved csgreen

    (@csgreen)


    I’m new to Ultimate Member and am struggling to to get something simple to work, even after reading the documentation. Please can you advise me how to allow only logged on administrator users to register new user? We don’t want new users to register themselves. Thanks.

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

    (@champsupertramp)

    Hi @csgreen

    By default, UM doesn’t display the Register form logged-in users.
    You need to enable the Register form for logged-in users with the following code snippet:

    add_filter( 'um_registration_for_loggedin_users', '__return_true' );

    You can add the code to your theme/child-theme’s functions.php file or use the Code Snippet plugin to run the code.

    Regards,

    Thread Starter csgreen

    (@csgreen)

    Hi @champsupertramp,

    Many thanks for your reply which has sorted the issue. I would have never have worked this out without your help. I used the Code Snippet plugin to keep the theme unaltered.

    Regards,
    Chris

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @csgreen

    Thanks for letting us know.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Registration by administrators only’ is closed to new replies.