Title: Admin Screen Lock
Last modified: June 28, 2018

---

# Admin Screen Lock

 *  [dougicg](https://wordpress.org/support/users/dougicg/)
 * (@dougicg)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/admin-screen-lock/)
 * Does anyone know of any way of using the post locking features on a custom plugin
   admin screen. We want to stop two admin users editing at the same time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadmin-screen-lock%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/admin-screen-lock/#post-10445409)
 * I don’t think that would be the best approach as the mechanism is strongly related
   to post objects and not admin screens at all. The plugin mainly needs to set 
   a user ID value somewhere when the screen is requested. If a value is set, don’t
   allow others besides the ID user to see the screen. A transient is a good place
   to store values as they expire after a time period.
 * There are several UI improvements possible through Ajax calls, but simply locking
   out everyone but the one user will do the job, albeit a bit crudely.

Viewing 1 replies (of 1 total)

The topic ‘Admin Screen Lock’ is closed to new replies.

## Tags

 * [heartbeat](https://wordpress.org/support/topic-tag/heartbeat/)
 * [lock](https://wordpress.org/support/topic-tag/lock/)

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/admin-screen-lock/#post-10445409)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
