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

Метод класса: PO{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$PO = new PO();
$PO->set_comment_before_headers( $text );
$text(строка) (обязательный)
Text to include as a comment.

Код PO::set_comment_before_headers() WP 6.4.3

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