WC_Widget_Layered_Nav::get_current_term_id()

Return the currently viewed term ID.


Description Description


Return Return

(int)


Top ↑

Source Source

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

	protected function get_current_term_id() {
		return absint( is_tax() ? get_queried_object()->term_id : 0 );
	}


Top ↑

User Contributed Notes User Contributed Notes

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