Remove Website Field for Comment Form

/*
 * Remove Website Field for Comment form
 */
function ar_comment_website_remove( $fields ) {
	if ( isset( $fields['url'] ) ) {
		unset( $fields['url'] );
	}

	return $fields;
}

add_filter( 'comment_form_default_fields', 'ar_comment_website_remove' );

Leave a Reply

Your email address will not be published. Required fields are marked *