接口名称:Filter_Plugin_Admin_PageMng_SubMenu
接口描述:文章管理页面增加子菜单
调用方法:
点击复制代码 PHP
Add_Filter_Plugin('Filter_Plugin_Admin_PageMng_SubMenu','yt_demo');
调用示例:
点击复制代码 PHP
RegisterPlugin("yt_demo","ActivePlugin_demo");//注册插件
function ActivePlugin_demo() {
Add_Filter_Plugin('Filter_Plugin_Admin_PageMng_SubMenu','yt_demo');
}
function yt_demo(){
echo '<a href="?act=PageEdt&id=16"><span class="m-left">关于我们</span></a>';
echo '<a href="?act=PageEdt&id=2"><span class="m-left">联系我们</span></a>';
}
效果展示: