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