You can use a single text input, store the option as a string, and split it into an array manually (like disallowedCustomTitles
), or you can use a named template or PHP callback and store the option as an array (like censorWords
). In either cause you can use a validation callback to validate the option value.