Track a Active Custom Menu Link by its ID
-
Hi,
is there a way or WP function to query an active custom menu link (a subnavigation point) with its ID in PHP? Likeif (current_custom_link_ID == 1061) { echo something; }
Generally speaking, I would like to track the name of the active (current) custom menu link to output it in the content area.
In the WordPress documentation I found nothing suitable, neither with wp_nav_menu () or similar functions.
I am grateful for every note.
Thanx
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Track a Active Custom Menu Link by its ID’ is closed to new replies.