The new Looper provider “menu” is a really great new tool for breaking up rigid navigation menus. But I can’t see in the Looper data which menu item currently contains the current page. Am I right?
In this example i’m on the page “Voucher”
Index: 0
Current Data:
array(38) {
["ID"]=>
int(74)
["post_author"]=>
string(1) "1"
["post_date"]=>
string(19) "2026-03-05 14:12:45"
["post_date_gmt"]=>
string(19) "2023-02-27 13:42:13"
["post_content"]=>
string(1) " "
["post_title"]=>
string(0) ""
["post_excerpt"]=>
string(0) ""
["post_status"]=>
string(7) "publish"
["comment_status"]=>
string(6) "closed"
["ping_status"]=>
string(6) "closed"
["post_password"]=>
string(0) ""
["post_name"]=>
string(2) "74"
["to_ping"]=>
string(0) ""
["pinged"]=>
string(0) ""
["post_modified"]=>
string(19) "2026-03-05 14:12:45"
["post_modified_gmt"]=>
string(19) "2026-03-05 13:12:45"
["post_content_filtered"]=>
string(0) ""
["post_parent"]=>
int(0)
["guid"]=>
string(33) "https://wptest:9999/?p=74"
["menu_order"]=>
int(1)
["post_type"]=>
string(13) "nav_menu_item"
["post_mime_type"]=>
string(0) ""
["comment_count"]=>
string(1) "0"
["filter"]=>
string(3) "raw"
["db_id"]=>
int(74)
["menu_item_parent"]=>
string(1) "0"
["object_id"]=>
string(2) "23"
["object"]=>
string(4) "page"
["type"]=>
string(9) "post_type"
["type_label"]=>
string(5) "Seite"
["url"]=>
string(30) "https://wpdev:9999/voucher/"
["title"]=>
string(10) "Voucher"
["target"]=>
string(0) ""
["attr_title"]=>
string(0) ""
["description"]=>
string(0) ""
["classes"]=>
array(1) {
[0]=>
string(0) ""
}
["xfn"]=>
string(0) ""
["children"]=>
array(0) {
}
}