Filter Reference: geodir_location_count_reviews_by_term_sql
Summary
Filter terms count sql query.
Parameters
- $sql
- (string) (required) Database sql query.
- Default: None
- $term_id
- (int) (required) The term ID.
- Default: None
- $taxonomy
- (int) (required) The taxonomy Id.
- Default: None
- $post_type
- (string) (required) The post type.
- Default: None
- $location_type
- (string) (required) Location type.
- Default: None
- $loc
- (string) (required) Current location terms.
- Default: None
- $count_type
- (string) (required) The term count type.
- Default: None
Change Log
Since: 1.3.8
Used by
geodir_location_manager/geodir_count_functions.php: geodir_filter_listings_where_set_loc() [Line: 87]
Source Code
$sql = apply_filters('geodir_location_count_reviews_by_term_sql', $sql, $term_id, $taxonomy, $post_type, $location_type, $loc, $count_type);