If you’re setting up an online shop for a client, sometimes it’s good to mask that you’re using software like WooCommerce, just so it looks like a more custom job.
Just add this to your functions.php in your theme and rename where I have “Store Settings” to what ever you want!
// Rename WooCommerce to Shop add_action( 'admin_menu', 'rename_woocoomerce', 999 ); function rename_woocoomerce() { global $menu; // Pinpoint menu item $woo = rename_woocommerce( 'WooCommerce', $menu ); // Validate if( !$woo ) return; $menu[$woo][0] = 'Store Settings'; } function rename_woocommerce( $needle, $haystack ) { foreach( $haystack as $key => $value ) { $current_key = $key; if( $needle === $value OR ( is_array( $value ) && rename_woocommerce( $needle, $value ) !== false ) ) { return $current_key; } } return false; }
not working.
Hi Erick
I just tested it, it’s working on the latest version of WooCoomerce, did you put it in your functions.php file exactly how it is in this snippet?
Not working as well
works veryyyyyyyyyyyyyyyyw wellllllll
It’s working fine.. Thanks for this
Thank you so much, works like a charm
Thanks for the code. Instead of changing WooCommerce I wanted to change the woocommerce Products tab instead. All I had to do was switch WooCommerce with Products in your code, change the name of Store Setting to what I wanted, and it worked like a charm
It works, but if you go to “Products Tab”, it still shows on the top as “Woocommerce/Products” Is there anyway to change this, generally the client has access to the WP-Dashboard as a “Shop Manager”
Works like magic!
Excellent post! Thanks for the content.It saves my time. Thanks a lot.