I want to write a plugin that works like this: after users log in on the website, They redirect to a page that asks them to complete their mobile number. and if they can't do that they can explore the website pages.

please complete your mobile number to access the content of the site
0097 909 - - - - 10

My problem is I could not find a way to block the site after login and before users complete their mobile number

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.