I have a simple requirement. I would like to Remove the Login form from Restricted pages. I am using WP-members for my membership management but I also have a plugin which offers social login to my site. Therefor I need to manage what is returned on a restricted pages. I will give the users a choice of login on these restricted pages. I have been able to get my html which offers this choice onto the restricted page using the dialogs in settings. I have been able to remove registration form by disabling it. Now I am left with the Login below my html on the restricted page but I no longer need it as I am asking the user to choose how they login and then sending them to a custom login page which has your short code.
Is there a simple way of doing this? I have trying function filters but I imagine there is a line in php I could just simply comment out which would stop returning this on the restricted pages.