How to block website after login user
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