1. Documentation
  2. Themes
  3. Storefront
  4. Codex
  5. Snippets

Change the ‘Menu’ button text

On handheld devices the navigation toggle button says ‘Menu.’ To change this you can use a custom translation or use the storefront_menu_toggle_text filter:


add_filter( 'storefront_menu_toggle_text', 'jk_storefront_menu_toggle_text' );
function jk_storefront_menu_toggle_text( $text ) {
$text = __( 'Navigation' );
return $text;
}

view raw

functions.php

hosted with ❤ by GitHub

Note: This is a Developer level doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a WooExpert or Developer for assistance. We are unable to provide support for customizations under our  Support Policy.

WooCommerce - the most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment