MO::export_translations()publicWP 1.0

Method of the class: MO{}

No Hooks.

Return

String.

Usage

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

MO::export_translations() code WP 6.1.1

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