wp-content/themes/twentytwentyone/inc/template-tags.php:18Prints HTML with meta information for the current post-date/time.
void function twenty_twenty_one_posted_on() { $time_string = '<time class="entry-date published updated" datetime="%1$s">%2$s</time>'; $time_string = sprintf( $time_string, esc_attr( get_the_date( DATE_W3C ) ), esc_html( get_the_date() ) ); echo '<span class="posted-on">'; printf( /* translators: %s: Publish date. */ esc_html__( 'Published %s', 'twentytwentyone' ), $time_string // phpcs:ignore WordPress.Security.EscapeOutput ); echo '</span>'; }Introduced in Twenty Twenty-One 1.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-content/themes/twentytwentyone/inc/template-tags.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.