显示撰写帖子的工作日。

原型

the_weekday()

源文件

路径:wp-includes/general-template.php

<?php
...
function the_weekday() {
	global $wp_locale;
	$the_weekday = $wp_locale->get_weekday( mysql2date( 'w', get_post()->post_date, false ) );
	/**
	 * Filters the weekday on which the post was written, for display.
	 *
	 * @since 0.71
	 *
	 * @param string $the_weekday
	 */
	echo apply_filters( 'the_weekday', $the_weekday );
}
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/the_weekday/