Price_Filter_Widget extends Product_Table_Widget

Product Table implementation of WooCommerce Price Filter Widget.

Based on version 2.3.0 of the WC_Widget_Price_Filter class.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

__construct()  : mixed
Constructor.
body_class()  : mixed
widget()  : mixed
Output widget.
get_current_taxonomy()  : string
Return the currently viewed taxonomy name.
get_current_term_id()  : int
Return the currently viewed term ID.
get_current_term_slug()  : int
Return the currently viewed term slug.
get_filtered_price()  : object
Get filtered min price for current products.
get_main_meta_query()  : mixed
get_main_tax_query()  : mixed

Methods

__construct()

Constructor.

public __construct() : mixed
Tags
Return values
mixed

body_class()

public static body_class(mixed $classes) : mixed
Parameters
$classes : mixed
Tags
Return values
mixed

widget()

Output widget.

public widget(array<string|int, mixed> $args, array<string|int, mixed> $instance) : mixed
Parameters
$args : array<string|int, mixed>
$instance : array<string|int, mixed>
Tags
see
WP_Widget
Return values
mixed

get_current_taxonomy()

Return the currently viewed taxonomy name.

protected get_current_taxonomy() : string
Tags
Return values
string

get_current_term_id()

Return the currently viewed term ID.

protected get_current_term_id() : int
Tags
Return values
int

get_current_term_slug()

Return the currently viewed term slug.

protected get_current_term_slug() : int
Tags
Return values
int

get_filtered_price()

Get filtered min price for current products.

protected get_filtered_price() : object
Tags
Return values
object

get_main_meta_query()

protected static get_main_meta_query() : mixed
Tags
Return values
mixed

get_main_tax_query()

protected static get_main_tax_query() : mixed
Tags
Return values
mixed

Search results