[wp-hackers] Quick dumb question about get_option

Rob r at robm.me.uk
Wed Mar 14 13:57:23 GMT 2007


On 14/03/07, Dr. Mike Wendell <theapparatus at gmail.com> wrote:
> Greets:
>
> Q: Can the function get_option pull an array out of the database?
>
> Reason: Trying to get the plugin Sociable to work on the WPMu platform
> and it appears to be having issues with working with the array of
> sites in there.
>
> Thanks,
> -drmike
>
> --

Yep, it serializes data when adding/updating options and unserializes
data when getting options, so you can use any data type supported by
PHP.

-- 
Rob Miller
http://robm.me.uk/


More information about the wp-hackers mailing list