Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( !empty( $bp->signup->errors ) ) {
- foreach ( (array)$bp->signup->errors as $fieldname => $error_message )
- add_action( 'bp_' . $fieldname . '_errors', create_function( '', 'echo apply_filters(\'bp_members_signup_error_message\', "<div class=\"error\">' . $error_message . '</div>" );' ) );
Add Comment
Please, Sign In to add comment