Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/deliciousmedia/content-locks/archive/refs/heads/master.zipOn Packagist as deliciousmedia/content-locks:
composer require deliciousmedia/content-locksNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Content Locks
A WordPress plugin which allows specified users to prevent certain pages, posts, attachments or custom post types from being edited or deleted.
Originally created as a way to give us a user interface to prevent the deletion of reusable blocks on client sites.
Installation
Install via Composer (composer require deliciousmedia/content-locks), or just clone/copy the files to your plugins folder.
Todo
- Add indicator to show status in post list.
- Improve documentation (usage section).
- Consider improved UI for attachments (adding has to be done via 'edit more details' link; removal link only shows on list view).
- More granular permissions, per user rather than role.
- UI to configure which post types are supported.
- WP CLI command to add/remove locks.
- Locks for taxonomy terms (via termmeta).
- Option to remove all locks/data upon uninstall.
- Add ability to lock items via bulk actions.
Built by the team at Delicious Media, a specialist WordPress development agency based in Sheffield, UK.
Releases
1 release.
Tag
Published
1.0.3
latest
May 14, 2021 5 years ago
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.