WC_Widget_Layered_Nav::get_instance_display_type()protectedWC 1.0

Get this widgets display type.

Метод класса: WC_Widget_Layered_Nav{}

Хуков нет.

Возвращает

Строку.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->get_instance_display_type( $instance );
$instance(массив) (обязательный)
Array of instance options.

Код WC_Widget_Layered_Nav::get_instance_display_type() WC 8.7.0

protected function get_instance_display_type( $instance ) {
	return isset( $instance['display_type'] ) ? $instance['display_type'] : 'list';
}