Home › Forums › Backend Issues (wp-admin) › ACF admin for roles beside administrator? › Reply To: ACF admin for roles beside administrator?
Not sure if this will do everything you want but there is a way to filter the capibility
add_filter('acf/settings/capability', 'change_acf_cap', 20, 1);
function change_acf_cap($cap) {
// modify the capability required to access acf admin stuff
return $cap;
}
I don’t know if you can use this to limit access to specific features or not.
ACF has plenty of filters, much more than many other plugins I’ve worked with. But many of them require digging around in the ACF code to find. Searching all of the files for “apply_filters” and “do_action” is a good place to start when you’re looking for something specific.
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.