PO::set_comment_before_headers()
Text to include as a comment before the start of the PO contents
Doesn't need to include # in the beginning of lines, these are added automatically
Method of the class: PO{}
No Hooks.
Return
null
. Nothing (null).
Usage
$PO = new PO(); $PO->set_comment_before_headers( $text );
- $text(string) (required)
- Text to include as a comment.
PO::set_comment_before_headers() PO::set comment before headers code WP 6.7.1
public function set_comment_before_headers( $text ) { $this->comments_before_headers = $text; }