exists() ? $blogiee_user->display_name : ''; $req = get_option( 'require_name_email' ); $aria_req = ( $req ? " aria-required='true'" : '' ); $fields = array( 'author' => '
', 'email' => '
', 'url' => '
', ); if ( is_user_logged_in() ) { $cl = 'loginformuser'; } else { $cl = ''; } $defaults = [ 'fields' => $fields, 'comment_field' => '
', /** This filter is documented in wp-includes/link-template.php */ 'must_log_in' => '

' . esc_html__( 'You must be', 'blogiee' ) . ' ' . esc_html__( 'logged in', 'blogiee' ) . ' ' . esc_html__( 'to post a comment.', 'blogiee' ) . '

', /** This filter is documented in wp-includes/link-template.php */ 'logged_in_as' => '

' . esc_html__( 'Logged in as', 'blogiee' ) . ' ' . esc_html( $blogiee_custom_user_id ) . ' . ' . esc_html__( 'Log out?', 'blogiee' ) . '

', 'id_form' => 'commentform', 'id_submit' => 'submit', 'class_submit' => 'btn-comments btn btn-primary', 'title_reply' => esc_html__( 'Leave a Reply', 'blogiee' ), 'title_reply_to' => esc_html__( 'Leave a Reply to %s', 'blogiee' ), 'cancel_reply_link' => esc_html__( 'Cancel reply', 'blogiee' ), 'label_submit' => esc_html__( 'Post Comment', 'blogiee' ), 'format' => 'xhtml', ]; comment_form( $defaults ); ?>