apply_filters( 'woocommerce_product_recount_terms', bool )

Filter to allow/prevent recounting of terms as it could be expensive.


Description Description

A likely scenario for this is when bulk importing products. We could then prevent it from recounting per product but instead recount it once when import is done. Of course this means the import logic has to support this.


Parameters Parameters


Top ↑

Source Source

File: includes/wc-term-functions.php


Top ↑

Changelog Changelog

Changelog
Version Description
5.2 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.