the_weekday_date

过滤钩子
apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after )
参数
  • (string) $the_weekday_date The weekday on which the post was written.
    Required:
  • (string) $before The HTML to output before the date.
    Required:
  • (string) $after The HTML to output after the date.
    Required:
定义位置
相关勾子
the_weekdaythe_datethe_modified_dateget_the_dateget_feed_build_date
相关方法
the_weekday_datethe_weekdaythe_datethe_modified_dateget_feed_build_datethe_date_xml
引入
0.71
弃用
-

the_weekday_date – 这是一个WordPress模板标签,用于显示一个文章、页面或自定义文章类型的星期和日期。它需要一个可选的格式参数,用来格式化显示的日期。默认情况下,日期格式是由WordPress管理区的”日期格式”设置决定的。

过滤写文章的本地化日期,以便显示。

echo apply_filters( 'the_weekday_date', $the_weekday_date, $before, $after );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2026-01-29 22:10:00

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: