Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

photocurio on "storing a plugin option as an array"

$
0
0

I am writing a plugin, and I have an options page for it. The options page has a textarea input.

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?


Viewing all articles
Browse latest Browse all 8245

Trending Articles