Title: Remove &quot;Private:&quot; and &quot;| Assigned Groups:&quot;
Last modified: August 30, 2016

---

# Remove "Private:" and "| Assigned Groups:"

 *  [Simba](https://wordpress.org/support/users/simbalion/)
 * (@simbalion)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/remove-private-and-assigned-groups/)
 * Hi, this is a great plugin, the best I’ve found for restricting content so far.
 * Is there a way to remove “Private:” and “| Assigned Groups: (Whatever)” from 
   the display when assigning a category to a group?
 * I tried disabling ‘show admin hints at posts’, but that doesn’t seem to do it.
 * [https://wordpress.org/plugins/user-access-manager/](https://wordpress.org/plugins/user-access-manager/)

Viewing 1 replies (of 1 total)

 *  [angsaysrawr](https://wordpress.org/support/users/angsaysrawr/)
 * (@angsaysrawr)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/remove-private-and-assigned-groups/#post-6612430)
 * I figured this out.
 * You will need to edit the UserAccessManager.class.php file in the class folder.
 * Look for the following:
 *     ```
       if (count($aGroups) > 0) {
                   $sLink .= ' | '.TXT_UAM_ASSIGNED_GROUPS.': ';
   
                   foreach ($aGroups as $oGroup) {
                       $sLink .= $oGroup->getGroupName().', ';
                   }
   
                   $sLink = rtrim($sLink, ', ');
               }
   
               return $sLink;
           }
       ```
   
 * You need to replace that code with:
 *     ```
       if (count($aGroups) > 0) {
                   $sLink .= ' ';
   
                   foreach ($aGroups as $oGroup) {
                       $sLink .= ' ';
                   }
   
                   $sLink = rtrim($sLink, ', ');
               }
   
               return $sLink;
           }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Remove "Private:" and "| Assigned Groups:"’ is closed to new replies.

 * ![](https://ps.w.org/user-access-manager/assets/icon.svg?rev=1563783)
 * [User Access Manager](https://wordpress.org/plugins/user-access-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-access-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/user-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-access-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [angsaysrawr](https://wordpress.org/support/users/angsaysrawr/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/remove-private-and-assigned-groups/#post-6612430)
 * Status: not resolved