WordPress at Your Fingertips
function is not described

WC_Breadcrumb::add_crumbs_tag() protected WC 1.0

Tag trail.

{} It's a method of the class: WC_Breadcrumb{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->add_crumbs_tag();

Code of WC_Breadcrumb::add_crumbs_tag() WC 5.8.0

protected function add_crumbs_tag() {
	$queried_object = $GLOBALS['wp_query']->get_queried_object();

	/* translators: %s: tag name */
	$this->add_crumb( sprintf( __( 'Posts tagged “%s”', 'woocommerce' ), single_tag_title( '', false ) ), get_tag_link( $queried_object->term_id ) );
}