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

process_text_diff_html хук-фильтр . WP 4.1.0

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.

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

add_filter( 'process_text_diff_html', 'filter_function_name_7468', 10, 3 );
function filter_function_name_7468( $processed_line, $line, $string ){
	// filter...

	return $processed_line;
}
$processed_line(строка)
The processed diffed line.
$line(строка)
The unprocessed diffed line.
$string(строка)
null The line context. Values are 'added', 'deleted' or 'unchanged'.

Список изменений

С версии 4.1.0 Введена.

Где вызывается хук

WP_Text_Diff_Renderer_Table::_added()
process_text_diff_html
WP_Text_Diff_Renderer_Table::_deleted()
process_text_diff_html
WP_Text_Diff_Renderer_Table::_context()
process_text_diff_html
wp-includes/class-wp-text-diff-renderer-table.php 175
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'added' );
wp-includes/class-wp-text-diff-renderer-table.php 201
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'deleted' );
wp-includes/class-wp-text-diff-renderer-table.php 226
$line = apply_filters( 'process_text_diff_html', $processed_line, $line, 'unchanged' );

Где используется хук (в ядре WP)

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