Snippet: Add Content Below Mobile Menu
Important: This can also be done via the Theme Actions panel.
The following snippet is an example of how you can use the "wpex_hook_mobile_menu_bottom" action hook to insert custom content at the bottom of your mobile menu.
/**
* Add Content Below the Mobile Menu.
*
* @link https://total.wpexplorer.com/docs/snippets/add-content-below-mobile-menu/
*/
add_action( 'wpex_hook_mobile_menu_bottom', function() {
echo '<div>Before mobile menu</div>';
} );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend WPCode)