Created
March 21, 2016 11:13
-
-
Save mikejolley/d4c46102d69d4560abb6 to your computer and use it in GitHub Desktop.
WooCommerce - Allow non-admin access to backend, and enable admin_bar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Code goes in theme functions.php */ | |
add_filter( 'woocommerce_prevent_admin_access', '__return_false' ); | |
add_filter( 'woocommerce_disable_admin_bar', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment