Is there a way to save the value of a color-picker field to an external CSS file along with a selector?

Similar to what Redux Framework providers with the compiler() function.

I went over the documentation of OptionTree but couldn’t find anything like that. Best I can do is use the color value inline which is not something I’d like to do.

Side question, is there a way to add a placeholder to the text input field?

Read more here: Save color-picker value to external CSS file in OptionTree


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: