apply_filters( 'comment_form_logged_in', string $args_logged_in, array $commenter, string $user_identity )

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


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

Top ↑


File: wp-includes/comment-template.php. View all references

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

Top ↑


Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes

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