Home › Forums › ACF PRO › How do I hide the options page? › Reply To: How do I hide the options page?
Hi kkyang,
You can do so by editing the capability of the options page.
Set it to a capability only a super admin has
For example:
$options = acf_add_options_page(array(
"page_title" => "Options",
"menu_title" => "Options",
"menu_slug" => "options-theme",
"capability" => "manage_sites",
"redirect" => false
));
For more capabilities see:
http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table
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.