先介紹兩個全域變數. global $menu < 主選單; global $submenu < 子選單. 自定義後台選單就靠這兩個變數,透過admin_menu這個hook把值print出來。
確定! 回上一頁