wp-includes/theme-templates.php

WP檔案 4
No description
函式/鉤子名 描述
wp_enqueue_block_template_skip_link (函式) 預置跳過連結指令碼和樣式。
wp_set_unique_slug_on_create_template_part (函式) wp_set_unique_slug_on_create_template_part: 這個函式為新建立的模板部分設定一個唯一的lug。
wp_filter_wp_template_unique_post_slug (函式) wp_filter_wp_template_unique_post_slug:這個過濾器是用來修改為一個文章生成的唯一lug。它把唯一的lug作為引數,並返回修改後的唯一lug。
wp_enable_block_templates (函式) wp_enable_block_templates: 這個函式用來在WordPress的塊編輯器中啟用塊模板的使用。塊模板是預先定義的塊集,可以用來快速建立一個特定的佈局或設計: 這個函式可以在外掛或
the_block_template_skip_link (函式) the_block_template_skip_link: 當使用區塊模板時,該函式顯示一個連結以跳到主要內容。

常見問題

FAQs
檢視更多 >