bp_admin_do_wp_nav_menu_meta_box ()

在Appearance >菜单上构建并填充BuddyPress手风琴。

描述

文件:bp-core / admin / bp-core-admin-functions.php

函数bp_admin_do_wp_nav_menu_meta_box(){全局$nav_menu_selected_id;$walker = new BP_Walker_Nav_Menu_Checklist(false);$args = array('walker' => $walker);美元post_type_name = buddypress的;数组$标签= ();$标签[' loggedin ']['标签 '] = __( ' 登录”、“buddyboss”);$标签[' loggedin ']['页']= bp_nav_menu_get_loggedin_pages ();$标签['后']['标签 '] = __( ' 注销”、“buddyboss”);$标签['后']['页']= bp_nav_menu_get_loggedout_pages ();?> 

Logged-In links are relative to the current user, and are not visible to visitors who are not logged in.', 'buddyboss' ) ?>

Logged-Out links are not visible to users who are logged in.', 'buddyboss' ) ?>

class="button-secondary submit-add-to-menu right" value="" name="add-custom-menu-item" id="submit-buddypress-menu" />

更新日志

更新日志
版本 描述
BuddyPress 1.9.0 介绍了。

问题吗?

我们总是很乐意帮助您解决代码或其他问题!搜索我们的开发人员文档联络支持,或与我们联系销售团队