Skip to content

Instantly share code, notes, and snippets.

@nielslange
Created February 19, 2017 05:34
Show Gist options
  • Save nielslange/b59ba7520e2c166795609b36be823b86 to your computer and use it in GitHub Desktop.
Save nielslange/b59ba7520e2c166795609b36be823b86 to your computer and use it in GitHub Desktop.
WooCommerce: Change breadcrumb home text
<?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