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

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

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/po/export_entries