WC_Widget_Layered_Nav::get_instance_query_type() protected WC 1.0
Get this widgets query type.
{} Это метод класса: WC_Widget_Layered_Nav{}
Хуков нет.
Возвращает
Строку.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->get_instance_query_type( $instance );
- $instance(массив) (обязательный)
- Array of instance options.
Код WC_Widget_Layered_Nav::get_instance_query_type() WC Widget Layered Nav::get instance query type WC 5.0.0
protected function get_instance_query_type( $instance ) {
return isset( $instance['query_type'] ) ? $instance['query_type'] : 'and';
}