Closed furai closed 2 months ago
When ep_indexable_post_types filter returns an empty array the get_post_count_group function throws error about not returning array.
ep_indexable_post_types
get_post_count_group
add_filter('ep_indexable_post_types', function () { return []; });
Status Report
No response
Describe the bug
When
ep_indexable_post_types
filter returns an empty array theget_post_count_group
function throws error about not returning array.Steps to Reproduce
Status Report
tab in WrodPress ElasticPress plugin section.Screenshots, screen recording, code snippet
No response
Environment information
No response
WordPress and ElasticPress information
No response
Code of Conduct