How would I send form contents from wp-login?
-
Hello all,
I am trying to take my blog private, in that I want only logged in people to even see the blog. Easy, with Taragana’s ac_authentication plugin.
But, I want potential subscribers to be able to/have to request access. I don’t want them to be able to register themselves, because I need to make sure they should be seeing the blog (i.e. they need to be family or friends).
So I have hacked the wp-login page, but I have reached the end of my rope. I have made the “Request Access” form, but I need a form action to submit the contents to my email address.
See:
https://dannytiffanyandfamily.com/wordpress/wp-login.php?action=requestaccess
I could use some installation of formmail.pl or something, but I’d rather use something in WordPress. I’d also like to use bloginfo to pull the admin’s email address as the target for submission. I know lost passwords are eventually mailed to users, can I use that same mechanism?
If so, how? My knowledge of php is rudimentary, my knowledge of Action hooks in WP is woeful (like I know that is what they are called, and that’s it).
Thanks,
Danny.
- The topic ‘How would I send form contents from wp-login?’ is closed to new replies.