PO::export_entries() WordPress Method
The PO::export_entries() method is used to export translation entries from a PO file.
PO::export_entries() #
Exports all entries to PO format
Return
(string) sequence of mgsgid/msgstr PO strings, doesn't containt newline at the end
Source
File: wp-includes/pomo/po.php
public function export_entries() { // TODO: Sorting. return implode( "\n\n", array_map( array( 'PO', 'export_entry' ), $this->entries ) ); }
Expand full source codeCollapse full source codeView on TracView on GitHub