Skip to content

tyxla/carbon-breadcrumbs-woocommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carbon Breadcrumbs Woocommerce

An extensible WooCommerce extension for the Carbon Breadcrumbs plugin.

Adds additional WooCommerce-related breadcrumb items, and provides additional settings and options, as well as extensibility capabilities for developers.

Actions & Filters

The following actions and filters can allow developers to modify the default behavior and hook to add custom functionality in various situations. For additional actions, refer to the readme of the main Carbon Breadcrumbs plugin.


Filters

wc_get_template

$located (string). The original template path.

$template_name (string). The original template name.

$args (array). The args that the breadcrumbs function was called with.

$template_path (string). Path to templates.

$default_path (string). The default path to templates.

This filter is default for WooCommerce and is applied before loading a certain template. It allows you to modify the location of the template that will be used for the WooCommerce breadcrumbs.


Actions

carbon_breadcrumbs_woocommerce_before_setup_trail

$trail (Carbon_Breadcrumb_Trail). The breadcrumb trail object.

This action allows you to modify the breadcrumb trail object before the setup (which adds the WooCommerce breadcrumb items) has started.

carbon_breadcrumbs_woocommerce_after_setup_trail

$trail (Carbon_Breadcrumb_Trail). The breadcrumb trail object.

This action allows you to modify the breadcrumb trail object after the setup (which adds the WooCommerce breadcrumb items) has been completed.

About

A WooCommerce extension for the Carbon Breadcrumbs plugin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages