take_over_page_lock
Take over a page's edit lock from another editor to allow writes that would otherwise be refused due to PAGE_LOCKED. Use only after user confirmation; the previous holder may lose unsaved work.
Instructions
Take over the edit lock on a page another editor is holding open, so the next write (publish_page, update_page_blocks, update_page_layout, ...) is not refused with PAGE_LOCKED. The previous holder is bounced to read-only and may lose unsaved work, so only call after the user confirms. Needs pages:edit or pages:publish on the page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | Page id whose edit lock to take over |