案例(禁止分类1加入导航):
function ActivePlugin_tc_cs() { Add_Filter_Plugin('Filter_Plugin_PostCategory_Succeed','ytecn_postcategory_succeed'); } function ytecn_postcategory_succeed($cate) { global $zbp; if($cate->ID == 1){ $zbp->DelItemToNavbar('category', $cate->ID); } }