Get Current Menu Location inside Nav_Walker
There’s no constructor, so it’s not available as a property of the class, but each method in the class receives the arguments passed to wp_nav_menu() as an object. For example, start_lvl(): /** * Starts the list before the elements are added. * * @since 3.0.0 * * @see Walker::start_lvl() * * @param string $output Used … Read more