I am doing some research for a project and one requirement from the client is that to create an account a user must create security questions on account creation. I think this should be easy with a plugin like Loginizer or WP Security Question.
My main concern is that they want these questions to pop-up as an alert every 20 minutes while logged in and viewing content. This is a requirement by law for this product. I have not been able to find a plugin that would do this and may consider creating one myself.
Is there a hook I can use in WordPress to display this type of thing? Initially, I thought I would store a cookie on login, and after 20 minutes I would make it false, requiring another security question. I would really appreciate some help brainstorming or pointing me in the right direction, as I cannot find much on this topic. This question was somewhat helpful.