Hook pre_user_approved?
-
Hello,
i want to do some things programmatically when admin wants to approve membership for a user.
I saw that a hook named um_after_user_is_approved exists.
I used it and it works but it is not exactly what i want because it fires after approvement.Is there a hook that fires before approvement?
I want to do some actions there and if it is a problem or false, cancel the approvement and don’t approve the user.
Is there another hook or can i do something with this hook?
I tried return false and redirect and nothing worked.Thank you
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Hook pre_user_approved?’ is closed to new replies.