Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/ cleanup header comment

This function's access is marked as private. That means it is not intended for use by plugin and theme developers, but only in other core functions. It is listed here for completeness. Use any of these functions instead.


Strip close comment and close php tags from file headers used by WP (See Ticket #8497). It is used by get_file_description().


See also index of Function Reference and index of Template Tags.