WPDev.one
Core Function
View Source on Trac ↗

_cleanup_header_comment()

_cleanup_header_comment( mixed $str )

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

Parameters 1 required

Name / Type Description
$str
string

Header comment to clean up.

Required

Return Value

(string)
string

Function Information

Since Version
2.8.0
Source File
wp-includes/functions.php
Advertisement