user_login ) || empty( $user->user_login ) ){ return $mention; } // Return the correct link without @@ and with the user display name return '' . esc_html($user->display_name) . ''; } } new Author_Mentions_Main();