[wp-hackers] Register site setting

Louy louy08 at gmail.com
Wed Nov 10 13:38:32 UTC 2010


Hello,

So.. i've been developing a plugin for WP Multi-Site. i've used
('get_site_option') to store the network-wide settings...

when i usually make a settings page, i use
'register_setting<http://codex.wordpress.org/Function_Reference/register_setting>'
and 'action="options.php"'. however, i've noticed that there's no
alternative for the site options (like 'register_site_setting')... so i had
to use the 'sanitize_callback' and call 'update_site_option' from there...

is there any thing that i'm missing here?

-- 
*Louy Alakkad*
A web developer
http://l0uy.com/


More information about the wp-hackers mailing list