WP Nav menu append to url
Using wp_nav_menu() , how can I append a value at end of each URL? For example, I have the following url: http://www.example.com/ but I have to append a language parameter at the end, so the url should be: http://www.example.com/?lang=$language 3 Answers 3 I found the solution modifying the behaviour of wp_nav_menu with the wp_get_nav_menu_items-filter. Here’s … Read more