Support

Account

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.