On this page
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_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
File: wp-includes/comment-template.php. View all references
echo apply_filters( 'comment_form_logged_in', $args['logged_in_as'], $commenter, $user_identity );
Related
Used By
| Used By | Description |
|---|---|
| comment_form() wp-includes/comment-template.php | Outputs a complete commenting form for use within a template. |
Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_form_logged_in