wpseek.com
WordPress开发者和主题制作者的搜索引擎
register_block_type › WordPress Function
Since5.0.0
已弃用n/a
› register_block_type ( $block_type, $args = array() )
参数: (2) |
|
返回: |
|
定义在: |
|
文档: | |
Change Log: |
|
Registers a block type. The recommended way is to register a block type using the metadata stored in the `block.json` file.
Related Functions: unregister_block_type, register_block_style, unregister_block_style, register_post_type, register_block_style_handle