Question : wordpress php get menu link page id
Answered by : isaac-groisman-afzx9092x66j
get_post_meta( $item->ID, '_menu_item_object_id', true );
Source : https://wordpress.stackexchange.com/questions/13604/get-the-id-of-the-page-a-menu-item-links-to | Last Update : Sun, 24 Jul 22