Support

Account

Home Forums General Issues Register color picker via PHP Reply To: Register color picker via PHP

  • Hello James,

    I want to register custom fields using the acf_add_local_field_group()-function. When I want to add a new field, I go to the Register fields via PHP page and view the documentation on the settings for the field that I want. However, for some fields there is no documentation. I believe the newly added custom fields, such as the color picker, are missing from this page.

    Example use case (current situation):
    I can see that the color picker has a default value, but I have no idea which settings key to use. So now I have to create a new color picker field in the GUI, publish it, export it to PHP en see in the resulting code which settings key is used for the default color value.

    I would love it if this and other newly added custom fields were documented in the above mentioned page.

    Kind regards,

    Tim Havinga
    Web developer at Vevida