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

Text_Diff_Renderer::_block() WP 1.0

Это метод класса: Text_Diff_Renderer

Хуков нет.

Возвращает

Null. Ничего.

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

$Text_Diff_Renderer = new Text_Diff_Renderer();
$var = $Text_Diff_Renderer->_block( $xbeg, $xlen, $ybeg, $ylen, $edits );

Код Text Diff Renderer:: block: wp-includes/Text/Diff/Renderer.php WP 5.2.2

<?php
function _block($xbeg, $xlen, $ybeg, $ylen, &$edits)
{
    $output = $this->_startBlock($this->_blockHeader($xbeg, $xlen, $ybeg, $ylen));

    foreach ($edits as $edit) {
        switch (strtolower(get_class($edit))) {
        case 'text_diff_op_copy':
            $output .= $this->_context($edit->orig);
            break;

        case 'text_diff_op_add':
            $output .= $this->_added($edit->final);
            break;

        case 'text_diff_op_delete':
            $output .= $this->_deleted($edit->orig);
            break;

        case 'text_diff_op_change':
            $output .= $this->_changed($edit->orig, $edit->final);
            break;
        }
    }

    return $output . $this->_endBlock();
}