WC_Widget_Layered_Nav::get_instance_query_type
Get this widgets query type.
Method of the class: WC_Widget_Layered_Nav{}
No Hooks.
Returns
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() WC Widget Layered Nav::get instance query type code WC 10.6.2
protected function get_instance_query_type( $instance ) {
return isset( $instance['query_type'] ) ? $instance['query_type'] : 'and';
}