https://github.com/stuttter/wp-term-locks
Locks for categories, tags, and other taxonomy terms
https://github.com/stuttter/wp-term-locks
locks meta terms wordpress
Last synced: 10 months ago
JSON representation
Locks for categories, tags, and other taxonomy terms
- Host: GitHub
- URL: https://github.com/stuttter/wp-term-locks
- Owner: stuttter
- License: gpl-2.0
- Created: 2016-01-07T23:26:02.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T19:20:59.000Z (over 6 years ago)
- Last Synced: 2025-03-26T06:34:29.103Z (11 months ago)
- Topics: locks, meta, terms, wordpress
- Language: PHP
- Size: 35.2 KB
- Stars: 9
- Watchers: 0
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Term Locks
Lock categories, tags, and other taxonomy terms.
WP Term Locks allows administrators to lock taxonomy terms from being edited or deleted, providing security from authors & contributors that may try to modify them.
# Installation
* Download and install using the built in WordPress plugin installer.
* Activate in the "Plugins" area of your admin by clicking the "Activate" link.
* No further setup or configuration is necessary.
# FAQ
### Does this plugin depend on any others?
Not since WordPress 4.4.
Install the [WP Term Meta](https://wordpress.org/plugins/wp-term-meta/ "Metadata, for taxonomy terms.") plugin if you're on an earlier version.
### Does this create new database tables?
No. There are no new database tables with this plugin.
### Does this modify existing database tables?
No. All of WordPress's core database tables remain untouched.
### Can I query for terms by their `lock`?
Yes. Use a `meta_query` like:
```
$terms = get_terms( 'category', array(
'depth' => 1,
'number' => 100,
'parent' => 0,
'hide_empty' => false,
// Query by lock using the "wp-term-meta" plugin!
'meta_query' => array( array(
'key' => 'locks'
) )
) );
```
### Where can I get support?
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-locks/
### Can I contribute?
Yes, please! The number of users needing more robust taxonomy visuals is growing fast. Having an easy-to-use UI and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out!