WordPress at a glance
function is not described

PO::export_entries() public WP 1.0

Exports all entries to PO format

{} It's a method of the class: PO{}

No Hooks.


String. sequence of mgsgid/msgstr PO strings, doesn't containt newline at the end


$PO = new PO();

Code of PO::export_entries() WP 5.7

function export_entries() {
	// TODO: Sorting.
	return implode( "\n\n", array_map( array( 'PO', 'export_entry' ), $this->entries ) );