Home › Forums › Add-ons › Options Page › Get Options Field Breaking Permissions › Reply To: Get Options Field Breaking Permissions
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.
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.