I want to display a link on the Frontend, but the URL value changes over time.
It’d be very easy for me to just change it manually in the WordPress menu once (it’s also displaying there), and then automatically replace the URL value in the template file link.
But, is there any way to query and echo the URL of a specific Menu Item by ID?
<li id="menu-item-5020" class="menu-item menu-item-type-custom">
<a title="Exhibitions" href="https://wordpress.stackexchange.com/questions/230449/URL">Exhibitions</a>
</li>
I can’t seem to find anything in the direction…