comment_form_logged_in_after action-hookWP 3.0.0

Fires after the is_user_logged_in() check in the comment form.

Usage

add_action( 'comment_form_logged_in_after', 'wp_kama_comment_form_logged_in_after_action', 10, 2 );

/**
 * Function for `comment_form_logged_in_after` action-hook.
 * 
 * @param array  $commenter     An array containing the comment author's username, email, and URL.
 * @param string $user_identity If the commenter is a registered user, the display name, blank otherwise.
 *
 * @return void
 */
function wp_kama_comment_form_logged_in_after_action( $commenter, $user_identity ){

	// action...
}
$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.

Changelog

Since 3.0.0 Introduced.

Where the hook is called

comment_form()
comment_form_logged_in_after
wp-includes/comment-template.php 2740
do_action( 'comment_form_logged_in_after', $commenter, $user_identity );

Where the hook is used in WordPress

Usage not found.