过滤默认的块类别数组。
原型
apply_filters( 'block_categories', array $default_categories, WP_Post $post )
参数
$default_categories
(array)
块类别数组。
$post
(WP_Post)
发布正在加载。
源文件
路径:wp-admin/includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/block_categories/