%2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);
$posted_on = sprintf( '%s %s %s',
Baltic_Icons::get_svg( array( 'class' => 'icon-stroke', 'icon' => 'calendar' ) ),
esc_html__( 'Posted on', 'baltic' ),
'' . $time_string . ''
);
echo '' . $posted_on . ''; // WPCS: XSS ok.