Hide Login/Register from Header Menu on WooFood Theme

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

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