• 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 to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    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.