WP_Text_Diff_Renderer_Table::addedLine()publicWP 1.0

Method of the class: WP_Text_Diff_Renderer_Table{}

No Hooks.

Return

String.

Usage

$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table();
$WP_Text_Diff_Renderer_Table->addedLine( $line );
$line(string) (required)
HTML-escape the value.

WP_Text_Diff_Renderer_Table::addedLine() code WP 6.5.4

public function addedLine( $line ) {
	return "<td class='diff-addedline'><span aria-hidden='true' class='dashicons dashicons-plus'></span><span class='screen-reader-text'>" .
		/* translators: Hidden accessibility text. */
		__( 'Added:' ) .
	" </span>{$line}</td>";
}