In the BuddyPress, I want to allow register and log in using only one email domain. For instance, [email protected] restore all will be disallowed.
I have checked in the BuddyPress source and found that BuddyPress is using bp_core_validate_user_signup( $user_name, $user_email )
for sign up that has a filter
So I have tried to use the filter to modify the user_email
filed as in the code below. But it is not working.
Question:
How can I validate email so it allows to register and login only from
one specific email domain?
- Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
- Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
- Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.
Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com