the_weekday

過濾鉤子
apply_filters( 'the_weekday', $the_weekday )
引數
  • (string) $the_weekday
    Required:
定義位置
相關勾子
the_weekday_datethe_datethe_feed_linkthe_generatorthe_editor
相關方法
the_weekdaythe_weekday_datethe_datethe_metathe_idthe_generator
引入
0.71
棄用
-

the_weekday – 這是一個WordPress模板標籤,顯示一個文章、頁面或自定義文章型別的工作日。它需要一個可選的格式引數,用於格式化顯示的工作日。預設情況下,工作日是以WordPress地區設定的格式顯示的。

過濾寫文章的工作日,以便顯示。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
echo apply_filters( 'the_weekday', $the_weekday );
echo apply_filters( 'the_weekday', $the_weekday );
echo apply_filters( 'the_weekday', $the_weekday );

常見問題

FAQs
檢視更多 >