Text_Diff_Renderer_inline::_added

Advertisement

Syntax Syntax

Text_Diff_Renderer_inline::_added( $lines )

Source Source

File: wp-includes/Text/Diff/Renderer/inline.php

    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);
    }

Advertisement

Advertisement

Leave a Reply

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