Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,869
- Creating & Extending
- 25,900
- Requests & Feedback
- 9,548
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,178
-
Function doc says:
* @param array $result Results of user validation including errors, if any.
Original function fires
$result = array(
'user_name' => $user_name,
'user_email' => $user_email,
'errors' => $errors,
);
Try
function validate_user_signup( $result ) {
// the modified code and at least something like
return $result;
}
add_filter( 'bp_core_validate_user_signup', 'validate_user_signup' );