Definition:
function _cleanup_header_comment($str) {}
Strip close comment and close php tags from file headers used by WP.
Parameters
- string $str
Source code
function _cleanup_header_comment($str) { return trim(preg_replace("/\s*(?:\*\/|\?>).*/", '', $str)); }
4301
No comments yet... Be the first to leave a reply!