";
echo @get_avatar( $user_ID, $size, $default, $alt );
echo "
";
// username separator
if ( ! isset( $loginRadiusSettings['username_separator'] ) || $loginRadiusSettings['username_separator'] == 'dash' ) {
echo $user->user_login;
} elseif ( isset( $loginRadiusSettings['username_separator']) && $loginRadiusSettings['username_separator'] == 'dot' ) {
echo str_replace( '-', '.', $user->user_login );
} else {
echo str_replace( '-', ' ', $user->user_login );
}
if ( isset( $loginRadiusSettings['LoginRadius_loutRedirect'] ) && $loginRadiusSettings['LoginRadius_loutRedirect'] == 'custom' && ! empty( $loginRadiusSettings['custom_loutRedirect'] ) ) {
$redirect = htmlspecialchars( $loginRadiusSettings['custom_loutRedirect'] );
} else {
$redirect = home_url();
?>