WordPress 函数文档

get_hooked_blocks()

检索钩入给定块的块类型,按锚块类型和相对位置分组。

get_post_datetime()

获取文章的发布时间或修改时间,返回一个 DateTimeImmutable 对象实例。