Description
The “xclusive_after_main_nav_menu” action allows to add additional markup just before closing tag </nav><!–#main-nav–> tag. Version 1.1.0+.
A plugin (or theme) can add an action with the code:
<?php add_action( 'xclusive_after_main_nav_menu', 'action_function_name' ); ?>
The hook is located in the functions.php file.
Example
// apply action function action_xclusive_after_main_nav_menu() { //run action here echo '<p>text</p>'; } add_action('xclusive_after_main_nav_menu', 'action_xclusive_after_main_nav_menu');
Leave a Reply