mcaskill/wp-term-locks
Composer 安装命令:
composer require mcaskill/wp-term-locks
包简介
Pretty locks for categories, tags, and other taxonomy terms
README 文档
README
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 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!
统计信息
- 总下载量: 183
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2018-09-14