Support

Account

Home Forums Backend Issues (wp-admin) Option page and content locking

Helping

Option page and content locking

  • Hello everyone,

    we have a problem on an option page that contains a rather complex repeater field.
    This option page is edited very regularly during the day to feed this repeater and by several different users … sometimes simultaneously.
    This can lead to data loss.

    I’m looking for a solution that would lock the option screen while it’s being edited by another user. Just like a page or an article.
    Have you ever seen this scenario and do you know how to handle it?

    thanks for your help!

  • This is not possible. Options pages are like any other admin settings page in WP. Values are stored in the options table. WP has no mechanism for locking options.

    I realize that it is likely to late for this, but a better option to a large repeater is a custom post type where instead of a row in a repeater you can edit individual post.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.