I'm working on some multilingual code in a theme, and I was wondering if wp_nav_menu uses the gettext filter internally (i.e. same functionality as __() and _e().)

1 Answer 1


The purpose of your question is not entirely clear, but no, there are no gettext calls inside wp_nav_menu. There is no reason for that, as this function is not outputting any strings itself, just passing on what it gets.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.