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.


Top ↑

Source

File: wp-includes/comment-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More