Title: Admin controlled wordpress custom user attributes
Last modified: August 21, 2016

---

# Admin controlled wordpress custom user attributes

 *  [Simon Barnett](https://wordpress.org/support/users/simbasounds/)
 * (@simbasounds)
 * [12 years ago](https://wordpress.org/support/topic/admin-controlled-wordpress-custom-user-attributes/)
 * I’d like to be able to have Admin-only checkboxes in user profiles, then access
   these attributes in php.
 * The usage scenario is giving certain users access to parts of the site. This 
   is different to creating new roles and capabilities in that certain specific 
   users may have more than one capability to view parts of the site eg.
    Mary can
   access page A and B John can access page A and C
 * I would probably implement this based on body classes, or something else, but
   the php-accessible Admin-only checkboxes in user profiles is the main functionality
   I’m enquiring about. I’m open to using plugins or code in functions.php.

The topic ‘Admin controlled wordpress custom user attributes’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [Simon Barnett](https://wordpress.org/support/users/simbasounds/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/admin-controlled-wordpress-custom-user-attributes/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
