storing a plugin option as an array
-
I am writing a plugin, and I have an options page for it. The options page has a textarea.
I’d like the input from the textarea to be stored as an array, with each line as a separate value (a string of text). How do I do that?
Also, do I need to sanitize this input, or does WordPress do that?
- The topic ‘storing a plugin option as an array’ is closed to new replies.