BP_Admin::bp_emails_add_sub_menu_page_admin_menu()
Description
Source
File: bp-core/classes/class-bp-admin.php
public function bp_emails_add_sub_menu_page_admin_menu() { if ( is_multisite() && bp_is_network_activated() && bp_is_root_blog() ) { $email_url = get_admin_url( bp_get_root_blog_id(), 'edit.php?post_type=' . bp_get_email_post_type() ); // buddyboss-settings // Add our screen. $hook = add_submenu_page( 'buddyboss-platform', __( 'Emails', 'buddyboss' ), __( 'Emails', 'buddyboss' ), 'bp_moderate', $email_url, '' ); } }
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.