I put the code in functions.php in my child theme. It’s already run properly for add level.
Yes sorry I misspoke (english is not my primary language), I mean removing a user from a wishlist level.
So, I would like repeat my question,
I find If I add level from inside wordpress wishlist member admin, the hook to add usergroup is not execute properly. It just run properly, if it is run from wishlist level registration URL that run by a user that sign up.
Is the hook is called only it’s called from client (outside the wordpress admin) or the hook is also called if we add/remove level from wordpress admin wishlist member?
thanks.