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


Top ↑

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 ) );
		}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.