I am trying to manually add a link to the secondary top menu. This link would be
<a href="<?php echo wp_logout_url( home_url() ); ?>" title="Logout">Logout</a>
I would like this to display right next to the navigation which I have defined from within the theme. Is there any way I can hook in using do_action(‘avia_meta_header’);? Any chance you can provide a quick snippet/hint to help me along?
The end result is LinkFromWPMenu | LinkFromWPMenu | MyCustomLogoutLink
Hey Imburr!
You can hook onto the do_action('avia_meta_header');
which is at line 60 in helper-main-menu.php. Same as where WPML hooks in to add the flag icons.
Best regards,
Devin