comment_form_logged_in_after

动作钩子


do_action( 'comment_form_logged_in_after', $commenter, $user_identity )
参数
  • (array)
    $commenter
    An array containing the comment author’s
    username, email, and URL.
    Required:
  • (string)
    $user_identity
    If the commenter is a registered user,
    the display name, blank otherwise.
    Required:
定义位置
  • wp-includes/comment-template.php
    , line 2596
引入
3.0.0
弃用

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

do_action( 'comment_form_logged_in_after', $commenter, $user_identity );