-
Sameera replied to the forum topic bp_core_new_subnav_item won't create item under Profile section? in the group Creating & Extending 13 years ago
@boonebgorges
Thanks!!
I actually added a
|| current_user_can('edit_users')
to the bp_is_my_profile() check. Otherwise bad things were gonna happen 🙂 -
Sameera replied to the forum topic bp_core_new_subnav_item won't create item under Profile section? in the group Creating & Extending 13 years ago
Removing user_has_access and site_admin_only alone didn’t work.
Did you mean to replace the code in bp-members-loader.php : Line 137 to
if ( !is_user_logged_in() && !is_super_admin() )
return […]
@sameeraperera
Not recently active