WC_Widget_Layered_Nav::get_current_taxonomy()

Return the currently viewed taxonomy name.


Description Description


Return Return

(string)


Top ↑

Source Source

File: includes/widgets/class-wc-widget-layered-nav.php

	protected function get_current_taxonomy() {
		return is_tax() ? get_queried_object()->taxonomy : '';
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.