diff --git a/wp_bootstrap_navwalker.php b/wp_bootstrap_navwalker.php index 08b0c58..1f6fc27 100644 --- a/wp_bootstrap_navwalker.php +++ b/wp_bootstrap_navwalker.php @@ -171,6 +171,9 @@ function display_element( $element, &$children_elements, $max_depth, $depth, $ar function fallback( $args ) { if ( current_user_can( 'manage_options' ) ) { + + extract( $args ); + $fb_output = null; if ( $container ) {