[wp-hackers] Shared MultiSite Menus

Otto otto at ottodestruct.com
Thu May 30 15:43:52 UTC 2013


On Thu, May 30, 2013 at 10:29 AM, Dobri <dyordan1 at ramapo.edu> wrote:
> If it's this specialized, how about on menu save from any of the four sites you create a raw HTML flat file and dump it on the server? Then on render, just pull that file in. Doesn't really scale obviously but it works for a very specific case like yours, right?

Instead of a flat file, use a site-option.

http://codex.wordpress.org/Function_Reference/update_site_option
http://codex.wordpress.org/Function_Reference/get_site_option

-Otto


More information about the wp-hackers mailing list