• Resolved J M

    (@hiphopinenglish)


    I’m using the tutorial found on the Snippets Library almost untouched.

    I’m not able to get hold of my saved option via myprefix_get_option('test_text') or via get_option directly in a template used on every site in my network.

    The only change I made to the snippet is on line 47 where I hooked into admin_network_menu. I’ve saved content, so saving works fine; everything shows up nicely in the Network Dash.

    Is there any reason why get_option/myprefix_get_option return nothing? I feel like I’m overlooking something.

    https://ww.wp.xz.cn/plugins/cmb2/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Accessing Option on Multisite’ is closed to new replies.