WPSlash Licences

Hide Login/Register from Header Menu on WooFood Theme

Hide Login/Register from Header Menu on WooFood Theme – code snippet guide from WPSlash
Published
Updated
Reading time
1 minutes
Written by
WPSlash team

Here is a small code snippet you must paste to your functions.php on your child theme if you want to hide Login/Register from header menu

Code
add_action( "wp", function() {
remove_filter( 'wp_nav_menu_items', 'pt_login_link_to_menu');
} );
All guides

FoodMaster (formerly WooFood)12 min read

Best Store Address Setup for Pickup

Compare single-address, multi-location, and directions-first pickup setups to reduce wrong-door visits and simplify checkout.

The plugins these guides are about

FoodMaster for restaurants, courier vouchers for the Greek market, marketplace sync and store tools, all for WooCommerce.

Browse plugins30-day money-back on every plugin