apply_filters( ‘comment_form_logged_in’, string $args_logged_in, array $commenter, string $user_identity )

In this article

Filters the ‘logged in’ message for the comment form for display.

Parameters

$args_logged_instring
The HTML for the ‘logged in as [user]’ message, the Edit profile link, and the Log out link.
$commenterarray
An array containing the comment author’s username, email, and URL.
$user_identitystring
If the commenter is a registered user, the display name, blank otherwise.

Source

echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity );

Changelog

VersionDescription
3.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.