WP_Text_Diff_Renderer_Table::addedLine()
Метод класса: WP_Text_Diff_Renderer_Table{}
Хуков нет.
Возвращает
Строку
.
Использование
$WP_Text_Diff_Renderer_Table = new WP_Text_Diff_Renderer_Table(); $WP_Text_Diff_Renderer_Table->addedLine( $line );
- $line(строка) (обязательный)
- HTML-escape the value.
Код WP_Text_Diff_Renderer_Table::addedLine() WP Text Diff Renderer Table::addedLine WP 6.6.2
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>"; }