WordPress at a glance
function is not described

Translations::merge_originals_with() public WP 1.0

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

No Hooks.

Return

````. Null. Nothing.

Usage

$Translations = new Translations();
$Translations->merge_originals_with( $other );
$other(object) (required) (passed by reference — &)
-

Code of Translations::merge_originals_with() WP 5.7

<?php
function merge_originals_with( &$other ) {
	foreach ( $other->entries as $entry ) {
		if ( ! isset( $this->entries[ $entry->key() ] ) ) {
			$this->entries[ $entry->key() ] = $entry;
		} else {
			$this->entries[ $entry->key() ]->merge_with( $entry );
		}
	}
}