Menu Not Showing for Group Members
-
I have a custom function that allows users in a certain group to impersonate other users so they can place orders for them. Upon impersonation, I add the user to be impersonated to a group that have access to a certain page. After updating to WP 5.9, the page no longer shows. I do this programmatically with:
Groups_User_Group::create( array( ‘user_id’ => $user_id, ‘group_id’ => 5 ) );
Have you seen this behavior recently? Any insight you may be able to give?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Menu Not Showing for Group Members’ is closed to new replies.