wpseek.com
WordPress开发者和主题制作者的搜索引擎
rest_block_hooks_post_types › WordPress过滤钩子
Since7.0.0
已弃用n/a
› apply_filters( 'rest_block_hooks_post_types', $content_like_post_types, $this->post_type, $prepared_post )
| 参数: (3) |
|
| 定义在: | |
| 文档: |
Filters which post types should have Block Hooks applied.
Allows themes and plugins to add or remove post types that should have Block Hooks functionality enabled in the REST API.Related Functions: register_block_core_post_terms, register_block_core_post_date, register_block_core_post_title, use_block_editor_for_post_type, render_block_core_post_terms, register_block_core_post_content