WC_Widget_Layered_Nav::get_instance_query_type()protectedWC 1.0

Get this widgets query type.

Method of the class: WC_Widget_Layered_Nav{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_instance_query_type( $instance );
$instance(array) (required)
Array of instance options.

WC_Widget_Layered_Nav::get_instance_query_type() code WC 8.6.1

protected function get_instance_query_type( $instance ) {
	return isset( $instance['query_type'] ) ? $instance['query_type'] : 'and';
}