• Resolved tayylo

    (@tayylo)


    Hello everybody,

    users who register to my site are not automatically approved. They have to be manually approved after feedback from my colleagues in sales because of sensible data on the site. Is it possible to approve a user via webhook (e.g. in combination with Zapier after someone performs a certain action)?

    Thank you in advance!

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

    (@champsupertramp)

    Hi @tayylo

    Unfortunately, you will have to customize it to manually approve a user via a third-party plugin/service.

    Here’s a code snippet to approve a user:

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

    Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.