WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

Text_Diff::reverse() public WP 1.0

Computes a reversed diff.

Example:

$diff = new Text_Diff($lines1, $lines2);
$rev = $diff->reverse();

{} Это метод класса: Text_Diff{}

Хуков нет.

Возвращает

Text_Diff. A Diff object representing the inverse of the original diff. Note that we purposely don't return a reference here, since this essentially is a clone() method.

Использование

$Text_Diff = new Text_Diff();
$Text_Diff->reverse();

Код Text_Diff::reverse() WP 5.5.3

<?php
function reverse()
{
    if (version_compare(zend_version(), '2', '>')) {
        $rev = clone($this);
    } else {
        $rev = $this;
    }
    $rev->_edits = array();
    foreach ($this->_edits as $edit) {
        $rev->_edits[] = $edit->reverse();
    }
    return $rev;
}