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 acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.