screen->get_prefix();
if (get_theme_mod($prefix . '_has_comments_website', 'yes') === 'yes') {
$url_field_output = '
';
$data_columns_output = '';
}
$form_options = [
'format' => 'xhtml',
'class_form' => 'comment-form',
'title_reply' => __( 'Leave a Reply', 'blocksy' ),
'cancel_reply_link' => __( 'Cancel Reply', 'blocksy' ),
// Title reply
'title_reply_before' => '',
// Cancel reply
'cancel_reply_before' => '',
'cancel_reply_after' => '',
// Logged in as
'logged_in_as' => '',
// Comment notes
'comment_notes_before' => '',
// Input fields
'fields' => [
// Author input
'author' =>
'
',
// Email input
'email' =>
'',
'url' => $url_field_output . '
',
'cookies' => ''
],
// Textarea
'comment_field' =>
'
',
// submit button
'submit_button' => '',
];
if (
has_action( 'set_comment_cookies', 'wp_set_comment_cookies' )
&&
get_option( 'show_comments_cookies_opt_in' )
) {
$consent = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"';
$form_options['comment_field'] .= '';
}
if (function_exists('blocksy_ext_cookies_checkbox')) {
$form_options['comment_field'] .= blocksy_ext_cookies_checkbox('comment');
}
do_action('blocksy:comments:before');
?>