Title: Hide Admin Menu
Last modified: August 14, 2018

---

# Hide Admin Menu

 *  [Gustavo Troisi](https://wordpress.org/support/users/gus0074/)
 * (@gus0074)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/hide-admin-menu-2/)
 * Hello,
 * I’m trying to hide the menu for certain users, tried this two codes but don’t
   work:
 * `add_filter('acf/settings/show_admin', '__return_false');`
 * taken from here:
    [https://www.advancedcustomfields.com/resources/how-to-hide-acf-menu-from-clients/](https://www.advancedcustomfields.com/resources/how-to-hide-acf-menu-from-clients/)
 * And this one:
 *     ```
       function my_acf_init() {
   
       	acf_update_setting('show_admin', false);
       }
       add_action('acf/init', 'my_acf_init');
       ```
   
 * taken from here:
    [https://www.advancedcustomfields.com/resources/acf-settings/](https://www.advancedcustomfields.com/resources/acf-settings/)
 * Many thanks
    Gus

The topic ‘Hide Admin Menu’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [hide menu](https://wordpress.org/support/topic-tag/hide-menu/)

 * 0 replies
 * 1 participant
 * Last reply from: [Gustavo Troisi](https://wordpress.org/support/users/gus0074/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/hide-admin-menu-2/)
 * Status: not resolved