'
' . '
', 'email' => '
' . '
', 'url' => '
' . '
', 'cookies' => '', ); return $fields; } } // endif function_exists( 'simplenews_bootstrap_comment_form_fields' ) add_filter( 'comment_form_defaults', 'simplenews_bootstrap_comment_form' ); /** * Builds the form. * * @param string $args Arguments for form's fields. * * @return mixed */ if ( ! function_exists( 'simplenews_bootstrap_comment_form' ) ) { function simplenews_bootstrap_comment_form( $args ) { $args['comment_field'] = '
'; $args['class_submit'] = 'btn btn-primary'; // since WP 4.1. return $args; } } // endif function_exists( 'simplenews_bootstrap_comment_form' )