woocommerce_product_recount_terms

woocommerce_product_recount_terms

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_product_recount_terms') is found 1 times:

  • /includes/wc-term-functions.php line 404
    	 *
    	 * @since 5.2
    	 * @param bool
    	 */
    	if ( ! apply_filters( 'woocommerce_product_recount_terms', true ) ) {
    		return;
    	}
    
    	// Standard callback.
    	if ( $callback ) {
    		_update_post_term_count( $terms, $taxonomy );