在php代码中添加一个单词[复制]

This question already has an answer here:

in this code, I need to add a simple text "from" after the calendar icon. How can i do?

Thank you

$html .= '<span class="dashicons dashicons-calendar"></span>' . $datetime->date_range( $date_format ) . '<br/>';
</div>

You can do it like this:

$html .= '<span class="dashicons dashicons-calendar"></span>'.'From'. $datetime->date_range( $date_format ) . '<br/>';