Problem: I have been receiving registration spam from wp-login.php?action=register, so I would like to disable "anyone can register" in my WordPress settings. If I do this, will I still be able to utilize the wp_insert_user action hook?
Solution: Yes, you will be able to use the wp_insert_user action hook if you uncheck "Anyone can register" in your WordPress settings.
Relevant Documentation: https://codex.wordpress.org/Function_Reference/wp_insert_user
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 7 years, 7 months ago.
Assisted by: Christian Cox.
The forum ‘Types Community Support’ is closed to new topics and replies.