Translation_Entry::merge_with() public WP 1.0
{} It's a method of the class: Translation_Entry{}
No Hooks.
Return
````. Null. Nothing.
Usage
$Translation_Entry = new Translation_Entry(); $Translation_Entry->merge_with( $other );
- $other(object) (required) (passed by reference — &)
- -
Code of Translation_Entry::merge_with() Translation Entry::merge with WP 5.7
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;
}
}