Exports the whole PO file as a string
Parameters
$include_headers
booloptional- whether to include the headers in the export
Default:
true
Source
public function export( $include_headers = true ) {
$res = '';
if ( $include_headers ) {
$res .= $this->export_headers();
$res .= "\n\n";
}
$res .= $this->export_entries();
return $res;
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.