'
', 'email' => '
', 'url' => '
' ); $args['id_form'] = "comment_form"; $args['class_form'] = ( is_singular('product') ) ? "comment-form" : "row comment-form"; $args['id_submit'] = "comments-submit"; $args['class_submit'] = "comment-submit"; $args['name_submit'] = "submit"; $args['title_reply'] = wp_kses( __( 'Leave a Reply', 'allo' ), TL_ALLO_Static::html_allow() ); $args['title_reply_to'] = wp_kses( __( 'Leave a Reply to %s', 'allo' ), TL_ALLO_Static::html_allow() ); $args['cancel_reply_link'] = esc_html__( 'Cancel Reply', 'allo' ); $args['comment_notes_before'] = ""; $args['comment_notes_after'] = ""; $args['label_submit'] = esc_html__( 'Post Comment', 'allo' ); $args['comment_field'] = '
'; return $args; } add_filter('comment_form_defaults', 'tl_allo_comment_form'); function tl_allo_comment_list($comment, $args, $depth) { global $comment; extract($args, EXTR_SKIP); if ( 'div' == $args['style'] ) { $tag = 'div'; $add_below = 'comment'; } else { $tag = 'li'; $add_below = 'div-comment'; } ?> < id="comment-">

comment_approved == '0' ) : ?>

$add_below, 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>