Created
February 19, 2017 05:34
-
-
Save nielslange/b59ba7520e2c166795609b36be823b86 to your computer and use it in GitHub Desktop.
WooCommerce: Change breadcrumb home text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//* Change breadcrumb home text | |
add_filter( 'woocommerce_breadcrumb_defaults', 'nl_change_breadcrumb_home_text' ); | |
function nl_change_breadcrumb_home_text( $defaults ) { | |
$defaults['home'] = 'Start'; | |
return $defaults; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment