bellows_submenu_toggle_content

This filter allows you to customize the the content inside of the submenu toggle buttons.

Example

Replace the Font Awesome icons with a + sign, or any custom content you like

/* Replace the default submenu toggle icon with custom HTML */
add_filter( 'bellows_submenu_toggle_content', 'my_custom_submenu_toggle', 10, 3 );
function my_custom_submenu_toggle( $toggle_html, $config_id, $item ) {
	$toggle_html = "+";
	return $toggle_html;
}

Filter Definition

bellows_submenu_toggle_content

Filter the content inside the submenu toggle button

$content_html
HTML content for inside the toggle
$config_id
Bellows Configuration ID
$item
Menu item WP_Post object

On this page