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