get_specific_wp_menu <- function(root_url,menu_id) {
response <- content(GET(paste0(root_url,'/wp-json/wp-api-menus/v2/menus/',menu_id),
authenticate(Sys.getenv('wp_user'),Sys.getenv('wp_key'),accept_json())))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.