Home › Forums › Add-ons › Options Page › Add options page to network admin › Reply To: Add options page to network admin
To allow the Options page to be shown in Network Admin we need to add it through another hook.
Options plugin version 1.2.0, line 45:
Before:
add_action('admin_menu', array($this,'admin_menu'), 11, 0);
After
add_action('admin_menu', array($this,'admin_menu'), 11, 0);
add_action('network_admin_menu', array($this,'admin_menu'), 11, 0);
$blog_id resolves to 1 in network admin so all settings will be saved to the first blog. (Usually the network site.)
Would really appreciate if this could be patched in the next version. This is very useful for multisites.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.