Translation_Entry::merge_with

Advertisement

Syntax Syntax

Translation_Entry::merge_with( object $other )

Parameters Parameters

$other

(object) (Required)

Source Source

File: wp-includes/pomo/entry.php

		function merge_with( &$other ) {
			$this->flags      = array_unique( array_merge( $this->flags, $other->flags ) );
			$this->references = array_unique( array_merge( $this->references, $other->references ) );
			if ( $this->extracted_comments != $other->extracted_comments ) {
				$this->extracted_comments .= $other->extracted_comments;
			}

		}

Advertisement

Advertisement

Leave a Reply

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