W3cubDocs

/WordPress

MO::export_translations( Translation_Entry $entry )

Parameters

$entry

(Translation_Entry) (Required)

Return

(string)

Source

File: wp-includes/pomo/mo.php

function export_translations( $entry ) {
			// TODO: Warnings for control characters.
			return $entry->is_plural ? implode( "\0", $entry->translations ) : $entry->translations[0];
		}

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/mo/export_translations