WordPress at a glance
function is not described

MO::export_original() public WP 1.0

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

No Hooks.

Return

String. Null. Nothing.

Usage

$MO = new MO();
$MO->export_original( $entry );
$entry(Translation_Entry) (required)
-

Code of MO::export_original() WP 5.7

<?php
function export_original( $entry ) {
	// TODO: Warnings for control characters.
	$exported = $entry->singular;
	if ( $entry->is_plural ) {
		$exported .= "\0" . $entry->plural;
	}
	if ( $entry->context ) {
		$exported = $entry->context . "\4" . $exported;
	}
	return $exported;
}