外掛說明
Prevent categories, tags, and other taxonomy terms from being edited or deleted
WP Term Locks allows administrators to lock taxonomy terms from being edited or deleted by other capable users
Also checkout
安裝方式
- 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.
常見問題集
- 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.
- How do I query for terms via their locks?
-
With WordPress’s
get_terms()
function, the same as usual, but with an additionalmeta_query
argument according theWP_Meta_Query
specification:
https://codex.wordpress.org/Class_Reference/WP_Meta_Query$terms = get_terms( 'category', array( 'depth' => 1, 'number' => 100, 'parent' => 0, 'hide_empty' => false, // Query by lock 'meta_query' => array( array( 'key' => 'locks', 'value' => '' ) ) ) );
- Where can I get support?
-
- Basic: https://wordpress.org/support/plugin/wp-term-locks/
- Priority: https://chat.flox.io/support/channels/wp-term-locks/
- Where can I find documentation?
-
http://github.com/stuttter/wp-term-locks/
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.1
- Fix single-site capabilities check
1.0.0
- Remove list-table override class
- Bump minimum WordPress version to 4.7
- Restructure files for improved mu-plugins support
- Clean-up unused assets
0.2.0
- Update base class
0.1.4
- Update textdomain
- Update headers & meta
0.1.3
- Updated metadata UI class
0.1.1
- Updated form field classes
0.1.0
- Initial release