Re: [NEW PLUGIN] BuddyPress real names
Got problems with the admin menu of that plugin.
The BuddyPress admin panel does’nt expand, and instead, it goes to “wp-admin/bp_profile_real_names” which is the broken url of my plugin (and should be : wp-admin/admin.php?bp_profile_real_names).
The page itself is broken.
// Adds admin menu to WP Dashboard > BuddyPress
function bp_real_names_menu() {
add_submenu_page( ‘bp-general-settings’, __( ‘Real Names Options’, ‘bp_profile_real_names’ ), __( ‘Real Names Setup’, ‘bp_profile_real_names’ ), ‘manage-options’, ‘bp_profile_real_names’, “bp_real_names_options” );
}
add_action(‘admin_menu’, ‘bp_real_names_menu’);
Please help ! I don’t see where the problem is.