[Resolved] Overriding bp_core_validate_user_signup function
-
Hi dears,
I’m trying to override the bp_core_validate_user_signup function to add extra necessary checks but it’s not working. What I’ve done is the following:
add_filter('bp_core_validate_user_signup','validate_user_signup',10,2); function validate_user_signup($user_name, $user_email) { // the modified code }
An error occurs when trying to sign up:
“Missing argument 2 for validate_user_signup() in …..\wp-content\themes\custom-community-child\functions.php on line 709”Have I missed something? Am I doing it wrong? Any help is highly appreciated
Hope
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Resolved] Overriding bp_core_validate_user_signup function’ is closed to new replies.