PHP Class WC_Widget_Rating_Filter

Author: WooThemes
Inheritance: extends WC_Widget
Afficher le fichier Open project: woocommerce/woocommerce

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
widget ( array $args, array $instance ) widget function.

Méthodes protégées

Méthode Description
get_filtered_product_count ( integer $rating ) : integer Count products after other filters have occured by adjusting the main query.
get_page_base_url ( ) : string Get current page URL for layered nav items.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

get_filtered_product_count() protected méthode

Count products after other filters have occured by adjusting the main query.
protected get_filtered_product_count ( integer $rating ) : integer
$rating integer
Résultat integer

get_page_base_url() protected méthode

Get current page URL for layered nav items.
protected get_page_base_url ( ) : string
Résultat string

widget() public méthode

widget function.
See also: WP_Widget
public widget ( array $args, array $instance )
$args array
$instance array