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.
Parameters
-
$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.
Source
File: wp-includes/comment-template.php
.
View all references
echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |