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

WP_Text_Diff_Renderer_Table::_deleted() public WP 1.0

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

Hooks from the method
Возвращает

String.

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

$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->_deleted( $lines, $encode );
$lines(array) (required)
$encode(true/false)

Default: true

Код WP_Text_Diff_Renderer_Table::_deleted() WP 5.5.1

<?php
public function _deleted( $lines, $encode = true ) {
	$r = '';
	foreach ( $lines as $line ) {
		if ( $encode ) {
			$processed_line = htmlspecialchars( $line );

			/** This filter is documented in wp-includes/wp-diff.php */
			$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'deleted' );
		}
		if ( $this->_show_split_view ) {
			$r .= '<tr>' . $this->deletedLine( $line ) . $this->emptyLine() . $this->emptyLine() . "</tr>\n";
		} else {
			$r .= '<tr>' . $this->deletedLine( $line ) . "</tr>\n";
		}
	}
	return $r;
}