📜  wp 获取所有帖子类别 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:32.552000             🧑  作者: Mango

代码示例1
$categories = get_categories();
foreach($categories as $category) {
   echo '';
}