WordPress at a glance
функция не описана

Text_Diff::getFinal() public WP 1.0

Gets the final set of lines.

This reconstructs the $to_lines parameter passed to the constructor.

It's a method of the class: Text_Diff{}

Хуков нет.


Array. The sequence of strings.


$Text_Diff = new Text_Diff();

Код Text_Diff::getFinal() WP 5.5.1

function getFinal()
    $lines = array();
    foreach ($this->_edits as $edit) {
        if ($edit->final) {
            array_splice($lines, count($lines), 0, $edit->final);
    return $lines;