WC_Widget_Product_Tag_Cloud::get_current_taxonomy()
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() WC Widget Product Tag Cloud::get current taxonomy code WC 9.4.2
public function get_current_taxonomy( $instance ) { return 'product_tag'; }