WC_Widget_Layered_Nav::get_current_taxonomy()
Return the currently viewed taxonomy name.
Description Description
Return Return
(string)
Source Source
File: includes/widgets/class-wc-widget-layered-nav.php
protected function get_current_taxonomy() { return is_tax() ? get_queried_object()->taxonomy : ''; }