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

WP_Text_Diff_Renderer_Table::_added() public WP 1.0

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

Хуки из метода
Возвращает

Строку.

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

$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->_added( $lines, $encode );
$lines(массив) (обязательный)
$encode(true/false)

По умолчанию: true

Код WP_Text_Diff_Renderer_Table::_added() WP 5.5.1

wp-includes/class-wp-text-diff-renderer-table.php
<?php
public function _added( $lines, $encode = true ) {
	$r = '';
	foreach ( $lines as $line ) {
		if ( $encode ) {
			$processed_line = htmlspecialchars( $line );

			/**
			 * Contextually filters a diffed line.
			 *
			 * Filters TextDiff processing of diffed line. By default, diffs are processed with
			 * htmlspecialchars. Use this filter to remove or change the processing. Passes a context
			 * indicating if the line is added, deleted or unchanged.
			 *
			 * @since 4.1.0
			 *
			 * @param string $processed_line The processed diffed line.
			 * @param string $line           The unprocessed diffed line.
			 * @param string $context        The line context. Values are 'added', 'deleted' or 'unchanged'.
			 */
			$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'added' );
		}

		if ( $this->_show_split_view ) {
			$r .= '<tr>' . $this->emptyLine() . $this->emptyLine() . $this->addedLine( $line ) . "</tr>\n";
		} else {
			$r .= '<tr>' . $this->addedLine( $line ) . "</tr>\n";
		}
	}
	return $r;
}