1

I'm creating an additional WordPress Network admin page, and I need to store some system-wide option. The good thing that a config file will be generated, so no access is required from the child blogs, but the question is: how to store options to Network Admin, and where will they be stored in the database?

Thanks, Peter

1

Use add_site_option() and update_site_option(). You can find these functions in wp-includes/functions.php.

  • 1
    And as far as I see those will be stored in the sitemeta table if network is enabled and will fall back to options table if not. – petermolnar Feb 16 '12 at 9:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.