comment_form_logged_in WordPress Filter Hook
The comment_form_logged_in hook is used to display the comment form for logged in users. This hook is used by the comment_form() function to display the form.
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 logged-in-as HTML-formatted message.
- $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
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |