add_action("wpdiscuz_before_wp_new_comment", function($commentdata){ if (!empty($commentdata["comment_author_email"]) && empty($commentdata["user_id"])) { $is_user_exist = get_user_by("email", sanitize_text_field($commentdata["comment_author_email"])); if ($is_user_exist) { wp_die(esc_html__("A user with this email is already registered! Please log in or use a different one!", "wpdiscuz")); } } });
Subscribe
Notify of
guest

2 Comments
newest
oldest most voted

Peter
Peter (@guest_729675)
March 2, 2019 13:51

A $100 bonus, for business customers, in Illinois. Can we not post these?!