user_id ] ) ) {
// Get avatar url if not already got.
$avatar_url[ $answer->user_id ] = get_avatar_url( $answer->user_id );
}
$css_class = ( $current_user_id != $answer->user_id || 0 == $answer->comment_parent ) ? 'tutor-qna-left' : 'tutor-qna-right';
$css_style = ( $is_single && $answer->comment_parent != 0 ) ? 'margin-left:14%;' . $reply_hidden : '';
$reply_class = ( $is_single && $answer->comment_parent != 0 ) ? 'tutor-reply-msg' : '';
?>
display_name ); ?>
comment_date_gmt ) );
$time_ago = __( 'ago', 'tutor' );
echo esc_html( $date . ' ' . $time_ago );
?>
comment_content );
echo tutor()->has_pro ? wp_kses_post( $content ) : esc_textarea( $content );
?>
comment_parent ) : ?>
text_editor_config(
array(
'plugins' => 'codesample',
'tinymce' => array(
'toolbar1' => 'bold,italic,underline,link,unlink,removeformat,image,bullist,codesample',
'toolbar2' => '',
'toolbar3' => '',
),
)
)
);
?>