Hi,
I’ve put the below woothemes recommended code in my child theme’s functions.php and it isn’t changing the text from “Primary Menu”.
add_filter( 'storefront_menu_toggle_text', 'jk_storefront_menu_toggle_text', 10 );
function jk_storefront_menu_toggle_text( $text ) {
$text = __( 'Navigation' );
return $text;
}
My functions.php isn’t erroring and my version of the storefront theme is up to date so it does include the ‘storefront_menu_toggle_text’ filter. I feel like I’m missing something obvious but it just isn’t working. Any ideas?
Thanks