Advanced Custom Fields: Restrict Color Picker Options

by Vital

Overview


Restrict Advanced Custom Fields color picker field to a specific subset of custom colors. Removes the color wheel and slider from the field UI so the user can’t pick any other colors

Features

Include the color palette from the current theme by enabling the option on the plugin settings page.

Get the current color options palette in your template code with the acfrcpo_get_color_options function.

Discuss


Summary
Version:
1.3.1
Last updated:
Active installations:
WordPress Version:
4.0 or higher
Tested up to:
5.8
PHP Version:
7.0 or higher
Ratings