How to change a specific character in a theme option value – replace a space with a plus sign
Wouldn’t a better solution be to build your own list of available fonts, and then let the user select which font to use? That way, your validation is much easier, and also, you have more control over how you use/implement the specific setting. In any case, you should be able to do what you want, … Read more