📅  最后修改于: 2022-03-11 14:54:21.705000             🧑  作者: Mango
代码示例2
$pages = get_pages();
$pagee = array();
foreach ($pages as $page) {
$pagee[] = $page->post_title;
}
echo implode(",",$pagee);