wp-includes/blocks/archives.php

WP檔案 2
Server-side rendering of the `core/archives` block.
函式/鉤子名 描述
render_block_core_archives (函式) render_block_core_archives: 這個函式用來渲染WordPress中的檔案塊。檔案塊顯示一個網站的檔案連結: 這個函式負責生成Archives塊的HTML標記。
register_block_core_archives (函式) register_block_core_archives: 這個函式註冊了一個顯示檔案列表的塊。它包括自定義檔案顯示的選項,如檔案的型別(每月、每週等),檔案的順序,以及是否顯示文章數量。

常見問題

FAQs
檢視更多 >