bellows_menu_toggle_content

Knowledgebase Docs » Bellows
USEFUL? 6

bellows_menu_toggle_content

This filter allows you to filter the content within the mobile toggle for a Bellows menu

$content
The current toggle content. Be sure to return this value
$menu_id
The ID of the menu that this toggle controls
$args
The menu arguments array that was passed to wp_nav_menu()

Example: Replace the toggle content with “Hello World”

function bam_toggle_content( $content, $menu_id, $args ){
	return 'Hello World';
}
add_filter( 'bellows_menu_toggle_content' , 'bam_toggle_content', 10, 3 );