The get_field('_____', 'options'); call is returning the correct information. However, the problem is when I use that call in an action, like admin_menu, it’s breaking the functionality of another plugin. The other plugin is called User Access Manager (which has to do with custom permissions, etc). It break’s some of that plugins permissions. If I comment out the get_field('_____', 'options'); it’s fine, if I leave it in, some of the permissions for other users get screwed up.
I currently have 'capability' => 'edit_theme_options' for the acf_add_options_page array value. I’ve tried lowering the capability something like ‘edit_posts’ and it still has the same effect.
Viewing 2 posts - 1 through 2 (of 2 total)
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users