Code to Change “Save my name, email, and website” text in WordPress

/* Change WordPress Comment Cookie Consent Text */
add_filter( 'comment_form_default_fields', 'wpflt_cookie_consent_comment_form' );
function wpflt_cookie_consent_comment_form( $fields ) {
	$commenter = wp_get_current_commenter();
	$consent   = empty( $commenter['comment_author_email'] ) ? '' : ' checked="checked"';
	$fields['cookies'] = '<p class="comment-form-cookies-consent"><input id="wp-comment-cookies-consent" name="wp-comment-cookies-consent" type="checkbox" value="yes"' . $consent . ' />' .
					 '<label for="wp-comment-cookies-consent">'.__('Save my name and email in this browser for the next time I comment', 'textdomain').'</label></p>';
	return $fields;
}

To change the default WordPress comment form cookie consent which says, “Save my name, email, and website in this browser for the next time I comment.” to custom text, add this code in your child theme’s ‘functions.php

Most WordPress users don’t wish to keep the Website Field active in the default comment form. There is no point in mentioning to save website address as cookie.