diff --git a/wp_bootstrap_navwalker.php b/wp_bootstrap_navwalker.php index 1f6fc27..e592f3c 100644 --- a/wp_bootstrap_navwalker.php +++ b/wp_bootstrap_navwalker.php @@ -19,8 +19,8 @@ class wp_bootstrap_navwalker extends Walker_Nav_Menu { * @param string $output Passed by reference. Used to append additional content. * @param int $depth Depth of page. Used for padding. */ - function start_lvl( &$output, $depth = 0, $args = array() ) { - $indent = str_repeat("\t", $depth); + public function start_lvl( &$output, $depth = 0, $args = array() ) { + $indent = str_repeat( "\t", $depth ); $output .= "\n$indent'; - if ( $container ) { + if ( $container ) $fb_output .= ''; - } echo $fb_output; } } } - -?> \ No newline at end of file