Translations::merge_with( Object $other )

Merge $other in the current object.


Description Description


Parameters Parameters

$other

(Object) (Required) Another Translation object, whose translations will be merged in this one (passed by reference).


Top ↑

Return Return

(void)


Top ↑

Source Source

File: wp-includes/pomo/translations.php

		function merge_with( &$other ) {
			foreach ( $other->entries as $entry ) {
				$this->entries[ $entry->key() ] = $entry;
			}
		}

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.