Avada Forums Community Forum Top menu and main menu Reply To: Top menu and main menu

Michael C
Post count: 549

I suggest checking the filter documentation here – https://codex.wordpress.org/Plugin_API/Filter_Reference/wp_nav_menu_args

In particular, if you just want to target a specific menu location you will want to do a check against $args[‘theme_location’].