WC_Widget_Product_Tag_Cloud::get_current_taxonomy()publicWC 1.0

Return the taxonomy being displayed.

Method of the class: WC_Widget_Product_Tag_Cloud{}

No Hooks.

Return

String.

Usage

$WC_Widget_Product_Tag_Cloud = new WC_Widget_Product_Tag_Cloud();
$WC_Widget_Product_Tag_Cloud->get_current_taxonomy( $instance );
$instance(object) (required)
Widget instance.

WC_Widget_Product_Tag_Cloud::get_current_taxonomy() code WC 9.4.2

public function get_current_taxonomy( $instance ) {
	return 'product_tag';
}