woocommerce_breadcrumb_home_url
Usage
add_filter( 'woocommerce_breadcrumb_home_url', 'wp_kama_woocommerce_breadcrumb_home_url_filter' ); /** * Function for `woocommerce_breadcrumb_home_url` filter-hook. * * @param $home_url * * @return */ function wp_kama_woocommerce_breadcrumb_home_url_filter( $home_url ){ // filter... return $home_url; }
- $home_url
- -
Where the hook is called
woocommerce/includes/wc-template-functions.php 2375
$breadcrumbs->add_crumb( $args['home'], apply_filters( 'woocommerce_breadcrumb_home_url', home_url() ) );