Translations::merge_with

Advertisement

Summery Summery

Merge $other in the current object.

Syntax Syntax

Translations::merge_with( Object $other )

Parameters Parameters

$other

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

Return Return

(void)

Source Source

File: wp-includes/pomo/translations.php

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

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.