WordPress.org

Ready to get started?Download WordPress

Forums

Can i modify the default Walker_Nav_Menu ? (1 post)

  1. flashnet69
    Member
    Posted 1 year ago #

    Hi,

    I m writing my first plugin and i would to know if it's possible to overwrite the Walker_Nav_Menu ?

    I have already create a custom walker but i need change in all my views of my template the wp_nav_menu() fonction.
    If my template is update, i must restart the job...

    Do yo you know if i can make what i do ? When i call the function wp_nav_menu(), my custom nav menu appear, without create a custom walker...
    (Sorry for my bad english...)

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic