Skip to content

Instantly share code, notes, and snippets.

@jameskoster
Last active November 9, 2016 15:02
Show Gist options
  • Save jameskoster/5849055 to your computer and use it in GitHub Desktop.
Save jameskoster/5849055 to your computer and use it in GitHub Desktop.
WooCommerce - change breadcrumb home text
add_filter( 'woocommerce_breadcrumb_defaults', 'jk_change_breadcrumb_home_text' );
function jk_change_breadcrumb_home_text( $defaults ) {
// Change the breadcrumb home text from 'Home' to 'Apartment'
$defaults['home'] = 'Apartment';
return $defaults;
}
@winsion
Copy link

winsion commented Feb 10, 2014

I can not figure out where the file is , in 3.8.1 WP and Woocommerce 2.X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment