摘要: get_categories()函数可以获得分类所有信息,返回与查询参数相匹配的类别对象数组。变量与wp_list_categories()函数基本一致,且变量可被作为数组传递,也可在查询句法中被传递。 <?php $categories = get_categories( $args ); ?> 阅读全文
posted @ 2020-01-17 11:18 venkim 阅读(1287) 评论(0) 推荐(0) 编辑