jtsternberg/cmb2-term-select
Composer 安装命令:
composer require jtsternberg/cmb2-term-select
包简介
Special CMB2 Field that allows users to define an autocomplete text field for terms
关键字:
README 文档
README
Special CMB2 Field that allows users to define an autocomplete text field for terms.
Example
$cmb->add_field( array( 'name' => 'Select Category', 'id' => 'category_data', 'desc' => 'Type the name of the term and select from the options', 'type' => 'term_select', 'taxonomy' => 'category', // 'apply_term' => false, // If set to false, saves the term to meta instead of setting term on the object. // 'attributes' => array( // 'data-min-length' => 2, // Override minimum length // 'data-delay' => 100, // Override delay // ), ) );
统计信息
- 总下载量: 128
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-05-30