Title: hiding admin bar function
Last modified: August 22, 2016

---

# hiding admin bar function

 *  [lustek](https://wordpress.org/support/users/lustek/)
 * (@lustek)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/)
 * after we updated the shop from 1.6 to 2.2.8 admin bar disappeared for non-admins
   on our site. After checking php files of the plugin, I figured it out how to 
   fix it – I changed the value of woocommerce_lock_down_admin to no in wp_options
   table in our database.
 * The worst thing is that woocommerce_lock_down_admin option is set randomly. at
   least in our case. on our beta site when we updated, it was set to no, so we 
   thought everything is fine.
 * Now I want to know where in back office this option can be set? I can’t see it
   in /wp-admin/admin.php?page=wc-settings. After this case I want to compare other
   woocommerce options on our beta and production site to catch potential differences.
 * thanks in advance for your answer
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Boocore](https://wordpress.org/support/users/boocore/)
 * (@boocore)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/#post-5514877)
 * Having exactly the same problem, as we´re using Buddypress the bar is kind of
   necessary. Don´t want to go in to the database and change without understanding
   the reason why the bar is disbled.
 * Thanks //
 *  [Boocore](https://wordpress.org/support/users/boocore/)
 * (@boocore)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/#post-5514878)
 * Also using 2.2.8 but couldn´t find woocommerce_lock_down_admin in the wp_options
   table
 *  Thread Starter [lustek](https://wordpress.org/support/users/lustek/)
 * (@lustek)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/#post-5514879)
 * try:
 *     ```
       SELECT *
       FROM <code>wp_options</code>
       WHERE <code>option_name</code> LIKE 'woocommerce_lock_down_admin'
       ```
   
 * maybe one of your security plugins changed the prefix in the names your database
   table from wp_ to other random one – then you need to look for the table with
   the random beginning 🙂
 *  [Boocore](https://wordpress.org/support/users/boocore/)
 * (@boocore)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/#post-5514880)
 * Thanks, still didn´t find it
 *  [Boocore](https://wordpress.org/support/users/boocore/)
 * (@boocore)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/#post-5514881)
 * I been in the code and changed the filters for this so now I have an admin bar
   again. This will be removed in the next update so it´s not a good way. I really
   would like to now the reason for this function.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘hiding admin bar function’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Boocore](https://wordpress.org/support/users/boocore/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/hiding-admin-bar-function/#post-5514881)
 * Status: not resolved