wp-includes/blocks/index.php

WP檔案 1
Used to set up all core blocks used with the block editor.
函式/鉤子名 描述
register_core_block_style_handles (函式) 註冊核心程式碼區塊樣式控制代碼。
register_core_block_types_from_metadata (函式) register_core_block_types_from_metadata: 該函式用於從包含塊的選項和設定的後設資料檔案中註冊核心塊型別。它需要一個引數:$directory。$director
BLOCKS_PATH (常量) BLOCKS_PATH:這是一個預定義的常量,它代表在 WordPress 中用於儲存塊檔案的路徑。

常見問題

FAQs
檢視更多 >