philipnewcomer/acf-unique-id-field
最新稳定版本:2.0.0
Composer 安装命令:
composer require philipnewcomer/acf-unique-id-field
包简介
An ACF field which generates a unique ID value, intended for use in ACF Repeaters
README 文档
README
An Advanced Custom Fields field which generates a unique ID value.
While this library was originally developer for use in repeaters where each field in a repeater block needs to be given a persistent unique ID, it can be used anywhere an automatically-generated unique ID is required.
Installation
composer require philipnewcomer/acf-unique-id-field
Usage
Call the ACF_Field_Unique_ID static method init() to activate it.
PhilipNewcomer\ACF_Unique_ID_Field\ACF_Field_Unique_ID::init();
Select the "Unique ID" field type when using the ACF GUI.
When editing a post, unique IDs will be generated on the initial save.
Notes
IDs will be generated in the following format:
59885be6f2289
统计信息
- 总下载量: 24.74k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 47
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2017-08-07