PO::export_entries
Exports all entries to PO format
Method of the class: PO{}
No Hooks.
Returns
String. sequence of msgid/msgstr PO strings, doesn't contain a newline at the end
Usage
$PO = new PO(); $PO->export_entries();
PO::export_entries() PO::export entries code WP 6.8.3
public function export_entries() {
// TODO: Sorting.
return implode( "\n\n", array_map( array( 'PO', 'export_entry' ), $this->entries ) );
}