Skip to content

Commit

Permalink
Merge pull request #3060 from mae829/feature/term-facets-args-3046
Browse files Browse the repository at this point in the history
perf: Add default update_term_meta_cache argument to get terms query
  • Loading branch information
felipeelia committed Oct 17, 2022
2 parents 084ef7c + 1b411a0 commit f15260f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions includes/classes/Feature/Facets/Types/Taxonomy/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,9 @@ public function render( $args, $instance ) {
apply_filters(
'ep_facet_search_get_terms_args',
[
'taxonomy' => $taxonomy,
'hide_empty' => true,
'taxonomy' => $taxonomy,
'hide_empty' => true,
'update_term_meta_cache' => false,
],
$args,
$instance
Expand Down

0 comments on commit f15260f

Please sign in to comment.