Support » Plugin: Advanced Custom Fields: Restrict Color Picker Options » Get a list of limited colors?

  • Has anyone figured out how to get a list of the colors that can be selected?
    Once a user set’s up the list of limited colours, I want to be able to pull it as an array to use throughout custom templates and functions.

    Specifically in this instance, we are using a color selector on the front end to filter attachments that have a color custom field.

Viewing 1 replies (of 1 total)
  • Plugin Author Adam Walter

    (@adamwalter)

    This was a good idea so I have added a acfrcpo_get_color_options function in the latest version. Thank you!

    • This reply was modified 2 weeks, 4 days ago by Adam Walter.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.