WC_Widget_Layered_Nav::get_instance_display_type
Get this widgets display 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_display_type( $instance );
- $instance(array) (required)
- Array of instance options.
WC_Widget_Layered_Nav::get_instance_display_type() WC Widget Layered Nav::get instance display type code WC 11.0.1
protected function get_instance_display_type( $instance ) {
return isset( $instance['display_type'] ) ? $instance['display_type'] : 'list';
}