WP Manifestindependent plugin directory
manifest / content / acf-unique-id

ACF Unique ID Field

An ACF field type that generates a unique ID.

by Ionuț Staicu · github.com/iamntz/acf-unique-id

3stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/iamntz/acf-unique-id/archive/refs/heads/master.zip

Readme

What's this?

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.

Read the full README on GitHub →

Releases

TagPublished
v1.0.4 Jan 12, 2025
v1.0.3 Jan 1, 2024
v1.0.2 Jan 1, 2024
v1.0.1 Jan 1, 2024
v1.0.0 Jan 1, 2024

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.