• Resolved Bogdan

    (@radoibogdan)


    Hello,

    Users on my website (online courses registration) have a limited time (2 weeks max).
    After I need to archive them is some folder in case authorities need to check information on users.

    Is this possible ?

    Thank you for your help !

    Kind regards,
    Bogdan

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

    (@champsupertramp)

    Hi @radoibogdan

    Unfortunately, this requires customization on your end. To programmatically deactivate a user, you can check the following code( you need to modify it to match your needs ).

    
    $user_id = 123;
    um_fetch_user( $user_id );
    UM()->user()->deactivate();
    

    Regards,

    Thread Starter Bogdan

    (@radoibogdan)

    Thank you for your response, Champ
    Having a database in WP Admin BO where one could extract (csv ou other format) users would be helpful.
    Phpmyadmin is not friendly at all.
    In users tab you already have the table of users you only need the extract button.
    Would be nice to have this feature on forms also.

    Would be a great improvement that my client needs.

    Thank you ! ??

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