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.

Return

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

Usage

$PO = new PO();
$PO->export_entries();

Code of PO::export_entries() WP 5.7

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