I have done some research about the topic but I haven't achieved a clear understanding of how to solve my problem.

I would like to display a modal window after user registration.

The only solution that came to my mind is adding a user meta at user_register hook and then check at init hook if the user meta is present, display the modal window and then delete the user meta when closed, but I feel there are better ways to do it.

Thanks for the help.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.