-1

I keeping getting tht error "Parse error: syntax error, unexpected end of file in line 13 " for my code ...its as below Here is the last part of nav-menu.php code

    /** This filter is documented in wp-includes/nav-menu.php */
        $menu_item->attr_title = apply_filters( 'nav_menu_attr_title', '' );

        /** This filter is documented in wp-includes/nav-menu.php */
        $menu_item->description = apply_filters( 'nav_menu_description', '' );
        $menu_item->classes = array();
        $menu_item->xfn = '';
    }
} elseif ( isset( $menu_item->taxonomy ) ) {
    $menu_it

1 Answers1

-1

close the curly braces after the elseif block and the error should resolve

and also the curly braces for the function so your end of the script should look like

    elseif ( isset( $menu_item->taxonomy ) ) {
        $menu_it;
    }
}
Arpita
  • 1,386
  • 1
  • 15
  • 35