WordPress at a glance
function is not described

_cleanup_header_comment() WP 2.8.0

Strip close comment and close php tags from file headers used by WP.

No Hooks.

Return

String.

Usage

_cleanup_header_comment( $str );
$str(string) (required)
Header comment to clean up.

Code of cleanup header comment: wp-includes/functions.php VER 5.0.3

<?php
function _cleanup_header_comment( $str ) {
	return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str));
}