定制 iamntz/acf-unique-id 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

iamntz/acf-unique-id

最新稳定版本:v1.0.4

Composer 安装命令:

composer require iamntz/acf-unique-id

包简介

ACF unique ID field

README 文档

README

An ACF field type that generates a unique ID.

Installation

  1. Download the whole repo
  2. Upload the acf-unique-id folder to your wp-content/plugins folder
  3. Activate the plugin via the Plugins admin page
  4. Create a new field via ACF and select the Unique ID type

Composer instalation

composer require iamntz/acf-unique-id

Then in your theme/plugin, init by new iamntz\acf\unique_id\InitAcfUniqueID();

Field options

By default, the generated field gives you a random 16 character string, separated by dashes similar to this:

ade5-8d58-b319-1678

You can change the length of the string, and the separator in the field options.

Also, you can enable debug, so the field will be visible in the admin area, and you can see the generated ID.

License

MIT.

统计信息

  • 总下载量: 87
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2024-01-01