get_the_category( int $post_id = false ): WP_Term[]
查找指定文章的类别,返回数组
get_category( int|object $category, string $output = OBJECT, string $filter = 'raw' ): object|array|WP_Error|null
查找指定ID分类的数据及对象