Added function get_menu_links().