Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
form ( array $instance ) | Outputs the settings update form. | |
init_settings ( ) | Init settings after post types are registered. | |
update ( array $new_instance, array $old_instance ) : array | Updates a particular instance of a widget. | |
widget ( array $args, array $instance ) | Output widget. |
Method | Description | |
---|---|---|
get_current_taxonomy ( ) : string | Return the currently viewed taxonomy name. | |
get_current_term_id ( ) : integer | Return the currently viewed term ID. | |
get_current_term_slug ( ) : integer | Return the currently viewed term slug. | |
get_filtered_term_product_counts ( array $term_ids, string $taxonomy, string $query_type ) : array | Count products within certain terms, taking the main WP query into consideration. | |
get_page_base_url ( $taxonomy ) : string | Get current page URL for layered nav items. | |
layered_nav_dropdown ( array $terms, string $taxonomy, string $query_type ) : boolean | Show dropdown layered nav. | |
layered_nav_list ( array $terms, string $taxonomy, string $query_type ) : boolean | Show list based layered nav. |
protected get_current_taxonomy ( ) : string | ||
return | string |
protected get_current_term_id ( ) : integer | ||
return | integer |
protected get_current_term_slug ( ) : integer | ||
return | integer |
protected get_page_base_url ( $taxonomy ) : string | ||
return | string |
public init_settings ( ) |