Redeclare functions nav-menu (1 post)

  1. Keika
    Posted 4 years ago #

    Hi guys,

    I've just bought a new template, with a nicely down menu using the menu feature.

    But, in order for it to work properly they've modified the wp_nav_menu function which can be found in the /wp-includes/nav-menu-template.php file. They actually want me to replace the original WP file by their own that has a few modifications. Problem is that at each update of WP, the file will be back to what it's supposed to be and I'll have to re-upload their file. I don't want to do that.

    Is their a way to modify the function, maybe redeclare it, without touching that specific file ?



Topic Closed

This topic has been closed to new replies.

About this Topic