Text_Diff_Renderer_inline::_added()publicWP 1.0

Method of the class: Text_Diff_Renderer_inline{}

No Hooks.

Return

null. Nothing.

Usage

$Text_Diff_Renderer_inline = new Text_Diff_Renderer_inline();
$Text_Diff_Renderer_inline->_added( $lines );
$lines (required)
-

Text_Diff_Renderer_inline::_added() code WP 6.1.1

function _added($lines)
{
    array_walk($lines, array(&$this, '_encode'));
    $lines[0] = $this->_ins_prefix . $lines[0];
    $lines[count($lines) - 1] .= $this->_ins_suffix;
    return $this->_lines($lines, ' ', false);
}