wpseek.com
WordPress开发者和主题制作者的搜索引擎
allowed_block_types › WordPress过滤钩子
Since5.0.0
已弃用Use the {@see 'allowed_block_types_all'} filter instead.
› $allowed_block_types = apply_filters_deprecated( 'allowed_block_types', array( $allowed_block_types, $post ), '5.8.0', 'allowed_block_types_all' );
| 参数: (2) |
|
| 定义在: |
|
| 文档: |
Filters the allowed block types for the editor.
Related Functions: get_allowed_block_types, get_allowed_mime_types, allowed_tags, get_block_templates, register_block_type, filter_block_kses
Related Hooks: allowed_block_types_all, hooked_block_types, excerpt_allowed_blocks, allowed_themes, allowed_options