PO::set_comment_before_headers()publicWP 1.0

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.


null. Nothing (null).


$PO = new PO();
$PO->set_comment_before_headers( $text );
$text(string) (required)
Text to include as a comment.

PO::set_comment_before_headers() code WP 6.4.3

public function set_comment_before_headers( $text ) {
	$this->comments_before_headers = $text;